aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorRafael Mendonça França <rafaelmfranca@gmail.com>2015-03-23 03:08:41 -0300
committerRafael Mendonça França <rafaelmfranca@gmail.com>2015-03-23 03:08:41 -0300
commitca5a35da373262e07862a75a670a7bf90b77e5c2 (patch)
treebdb870efc4b5eaa153714c3de3c6e696227e2f2d /activerecord/lib
parentab9a893842b55ec2c191058f6c0431a143baa59a (diff)
parent29efc6ee05d00a55e6f901223c4db55ea66b9992 (diff)
downloadrails-ca5a35da373262e07862a75a670a7bf90b77e5c2.tar.gz
rails-ca5a35da373262e07862a75a670a7bf90b77e5c2.tar.bz2
rails-ca5a35da373262e07862a75a670a7bf90b77e5c2.zip
Merge pull request #19449 from Gaurav2728/gaurav-unavailable_link
remove old unavailable link with relevant fix patch 1
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb b/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
index 8d7fba81f4..b7c7ff1187 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
@@ -905,8 +905,7 @@ module ActiveRecord
def configure_connection
variables = @config.fetch(:variables, {}).stringify_keys
- # By default, MySQL 'where id is null' selects the last inserted id.
- # Turn this off. http://dev.rubyonrails.org/ticket/6778
+ # By default, MySQL 'where id is null' selects the last inserted id; Turn this off.
variables['sql_auto_is_null'] = 0
# Increase timeout so the server doesn't disconnect us.