Permalink
Browse files

Don't double-log transaction related queries in the mock adapter

  • Loading branch information...
1 parent f02061f commit 1420d0a1640279ada386314b2ecc06be0c6eca90 @jeremyevans committed Jan 6, 2012
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/sequel/adapters/mock.rb
@@ -276,6 +276,10 @@ def columns(ds, sql, cs=@columns)
def disconnect_connection(c)
end
+ def log_connection_execute(c, sql)
+ c.execute(sql)
+ end
+
def quote_identifiers_default
false
end

0 comments on commit 1420d0a

Please sign in to comment.