Permalink
Browse files

Make Database#disconnect work for the ADO adapter, from spicyj

  • Loading branch information...
1 parent a8c306a commit e4897e3dfc474b462bcb4e51b4303c909ee70ec5 @jeremyevans committed Jul 23, 2008
Showing with 3 additions and 1 deletion.
  1. +2 −0 CHANGELOG
  2. +1 −1 lib/sequel_core/adapters/ado.rb
View
@@ -1,5 +1,7 @@
=== HEAD
+* Make Database#disconnect work for the ADO adapter (spicyj)
+
* Don't raise an exception in the ADO adapter if the dataset contains no records (nusco)
* Enable almost full support of PostgreSQL-JDBC using the JDBC adapter (jeremyevans)
@@ -28,7 +28,7 @@ def connect
end
def disconnect
- # how do we disconnect? couldn't find anything in the docs
+ @pool.disconnect {|conn| conn.Close}
end
def dataset(opts = nil)

0 comments on commit e4897e3

Please sign in to comment.