Permalink
Browse files

Oracle: fix connection reset failure. Closes #6846.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5761 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 7f32a85 commit a8b53f1dbbfde4385d842e6f4b667bf7db638409 @jeremy jeremy committed Dec 20, 2006
Showing with 3 additions and 1 deletion.
  1. +2 −0 activerecord/CHANGELOG
  2. +1 −1 activerecord/lib/active_record/connection_adapters/oracle_adapter.rb
@@ -1,5 +1,7 @@
*SVN*
+* Oracle: fix connection reset failure. #6846 [leonlleslie]
+
* Subclass instantiation doesn't try to explicitly require the corresponding subclass. #6840 [leei, Jeremy Kemper]
* fix faulty inheritance tests and that eager loading grabs the wrong inheritance column when the class of your association is an STI subclass. Closes #6859 [protocool]
@@ -627,7 +627,7 @@ def ping
def reset!
logoff rescue nil
begin
- @connection = @factory.new_connection @username, @password, @database, @async
+ @connection = @factory.new_connection @username, @password, @database, @async, @prefetch_rows, @cursor_sharing
__setobj__ @connection
@active = true
rescue

0 comments on commit a8b53f1

Please sign in to comment.