fixes after merge

This commit is contained in:
Brian Lopez 2010-07-27 09:26:07 -07:00
parent a45cb10dec
commit 9241f35df3
1 changed files with 6 additions and 0 deletions

View File

@ -243,6 +243,11 @@ module ActiveRecord
connect
end
# this is set to true in 2.3, but we don't want it to be
def requires_reloading?
false
end
def disconnect!
unless @connection.nil?
@connection.close
@ -564,6 +569,7 @@ module ActiveRecord
private
def connect
@connection = Mysql2::Client.new(@config)
configure_connection
end
def configure_connection