Skip to content

Commit

Permalink
Fix Database#disconnect_connection in do adapter
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyevans committed Oct 23, 2012
1 parent f4cb473 commit c9776c1
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/sequel/adapters/do.rb
Expand Up @@ -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
Expand Down

0 comments on commit c9776c1

Please sign in to comment.