mirror of
https://github.com/github/rails.git
synced 2026-02-03 02:35:08 -05:00
MySQL: ensure that @config is set.
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@3264 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -80,11 +80,10 @@ module ActiveRecord
|
||||
"MySQL server has gone away"
|
||||
]
|
||||
|
||||
def initialize(connection, logger, connection_options=nil, config={})
|
||||
def initialize(connection, logger, connection_options, config)
|
||||
super(connection, logger)
|
||||
@connection_options = connection_options
|
||||
@connection_options, @config = connection_options, config
|
||||
@null_values_in_each_hash = Mysql.const_defined?(:VERSION)
|
||||
@config = config
|
||||
connect
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user