# File lib/dbd_ado/ADO.rb, line 138 def finish # if DCL, DDL or INSERT UPDATE and DELETE, this gives an Error # because no Result-Set is available if @res_handle.Fields.Count() != 0 then @res_handle.Close() end rescue RuntimeError => err raise DBI::DatabaseError.new(err.message) end