Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix Database#disconnect_connection in do adapter

  • Loading branch information...
commit c9776c1c23fdfaed6389f9efe2ae41a8c3d44c42 1 parent f4cb473
@jeremyevans authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 lib/sequel/adapters/do.rb
View
4 lib/sequel/adapters/do.rb
@@ -60,6 +60,10 @@ def initialize(opts)
def connect(server)
setup_connection(::DataObjects::Connection.new(uri(server_opts(server))))
end
+
+ def disconnect_connection(conn)
+ conn.dispose
+ end
# Execute the given SQL. If a block is given, the DataObjects::Reader
# created is yielded to it. A block should not be provided unless a
Please sign in to comment.
Something went wrong with that request. Please try again.