Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

r3420@asus: jeremy | 2005-12-09 15:38:30 -0800

 Apply [3264] to stable.  MySQL: ensure that @config is set.


git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3267 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
commit 4e2e1a1bc63c488e3af052205e3f9cba9387383e 1 parent 36619f2
@jeremy jeremy authored
View
5 activerecord/lib/active_record/connection_adapters/mysql_adapter.rb
@@ -80,11 +80,10 @@ class MysqlAdapter < AbstractAdapter
"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
Please sign in to comment.
Something went wrong with that request. Please try again.