Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix jdbc postgresql subadapter after switch to using Database#statement

  • Loading branch information...
commit 1ca08b571737f69e473a968434da341c1f725cd0 1 parent 7b645ed
@jeremyevans authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/sequel/adapters/jdbc/postgresql.rb
View
2  lib/sequel/adapters/jdbc/postgresql.rb
@@ -16,7 +16,7 @@ module AdapterMethods
# a statement with the given sql and executes it.
def execute(sql, args=nil)
method = block_given? ? :executeQuery : :execute
- @db.statement do |stmt|
+ @db.send(:statement, self) do |stmt|
rows = @db.log_yield(sql){stmt.send(method, sql)}
yield(rows) if block_given?
end
Please sign in to comment.
Something went wrong with that request. Please try again.