diff options
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/CHANGELOG | 2 | ||||
-rw-r--r-- | activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/activerecord/CHANGELOG b/activerecord/CHANGELOG index f34800a3e4..dcdbf541d6 100644 --- a/activerecord/CHANGELOG +++ b/activerecord/CHANGELOG @@ -1,5 +1,7 @@ *SVN* +* Worked around that connection can't be reset if allow_concurrency is off. #2648 [Michael Schoen <schoenm@earthlink.net>] + * Fixed SQL Server adapter to pass even more tests and do even better #2634 [rtomayko@gmail.com] * Fixed SQL Server adapter so it honors options[:conditions] when applying :limits #1978 [Tom Ward] diff --git a/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb b/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb index eab61085e3..7858d08b66 100644 --- a/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb +++ b/activerecord/lib/active_record/connection_adapters/abstract/connection_specification.rb @@ -109,6 +109,7 @@ module ActiveRecord conn = @@defined_connections[klass] @@defined_connections.delete(klass) active_connections[klass] = nil + @connection = nil conn.config if conn end |