we don't need the connection around after a disconnect

This commit is contained in:
Brian Lopez 2010-05-22 11:56:23 -07:00
parent b82e307931
commit 49e50cad14

View File

@ -241,7 +241,10 @@ module ActiveRecord
end end
def disconnect! def disconnect!
@connection.close unless @connection.nil?
@connection.close
@connection = nil
end
end end
def reset! def reset!