lib/sequel/adapters/openbase.rb in sequel-3.40.0 vs lib/sequel/adapters/openbase.rb in sequel-3.41.0
- old
+ new
@@ -12,24 +12,22 @@
opts[:host] || 'localhost',
opts[:user],
opts[:password]
)
end
+
+ def disconnect_connection(c)
+ c.disconnect
+ end
def execute(sql, opts={})
synchronize(opts[:server]) do |conn|
r = log_yield(sql){conn.execute(sql)}
yield(r) if block_given?
r
end
end
alias_method :do, :execute
-
- private
-
- def disconnect_connection(c)
- c.disconnect
- end
end
class Dataset < Sequel::Dataset
SELECT_CLAUSE_METHODS = clause_methods(:select, %w'select distinct columns from join where group having compounds order limit')