Worked around that connection can't be reset if allow_concurrency is off. Closes #2648.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2816 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
39ada91f80
commit
14b60fc074
|
@ -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]
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue