Updated MySQL documentation link to MySQL latest version 5.6 everywhere [ci skip]
This commit is contained in:
parent
67dfe3f3a9
commit
44e94a38f4
|
@ -136,7 +136,7 @@ module ActiveRecord
|
|||
#
|
||||
# In order to get around this problem, #transaction will emulate the effect
|
||||
# of nested transactions, by using savepoints:
|
||||
# http://dev.mysql.com/doc/refman/5.0/en/savepoint.html
|
||||
# http://dev.mysql.com/doc/refman/5.6/en/savepoint.html
|
||||
# Savepoints are supported by MySQL and PostgreSQL. SQLite3 version >= '3.6.8'
|
||||
# supports savepoints.
|
||||
#
|
||||
|
@ -189,7 +189,7 @@ module ActiveRecord
|
|||
# semantics of these different levels:
|
||||
#
|
||||
# * http://www.postgresql.org/docs/9.1/static/transaction-iso.html
|
||||
# * https://dev.mysql.com/doc/refman/5.0/en/set-transaction.html
|
||||
# * https://dev.mysql.com/doc/refman/5.6/en/set-transaction.html
|
||||
#
|
||||
# An <tt>ActiveRecord::TransactionIsolationError</tt> will be raised if:
|
||||
#
|
||||
|
|
|
@ -915,14 +915,14 @@ module ActiveRecord
|
|||
variables['wait_timeout'] = self.class.type_cast_config_to_integer(wait_timeout)
|
||||
|
||||
# Make MySQL reject illegal values rather than truncating or blanking them, see
|
||||
# http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html#sqlmode_strict_all_tables
|
||||
# http://dev.mysql.com/doc/refman/5.6/en/server-sql-mode.html#sqlmode_strict_all_tables
|
||||
# If the user has provided another value for sql_mode, don't replace it.
|
||||
unless variables.has_key?('sql_mode')
|
||||
variables['sql_mode'] = strict_mode? ? 'STRICT_ALL_TABLES' : ''
|
||||
end
|
||||
|
||||
# NAMES does not have an equals sign, see
|
||||
# http://dev.mysql.com/doc/refman/5.0/en/set-statement.html#id944430
|
||||
# http://dev.mysql.com/doc/refman/5.6/en/set-statement.html#id944430
|
||||
# (trailing comma because variable_assignments will always have content)
|
||||
if @config[:encoding]
|
||||
encoding = "NAMES #{@config[:encoding]}"
|
||||
|
|
|
@ -187,7 +187,7 @@ MySQL supports a reconnect flag in its connections - if set to true, then the cl
|
|||
|
||||
* Lead Contributor: [Dov Murik](http://twitter.com/dubek)
|
||||
* More information:
|
||||
* [Controlling Automatic Reconnection Behavior](http://dev.mysql.com/doc/refman/5.0/en/auto-reconnect.html)
|
||||
* [Controlling Automatic Reconnection Behavior](http://dev.mysql.com/doc/refman/5.6/en/auto-reconnect.html)
|
||||
* [MySQL auto-reconnect revisited](http://groups.google.com/group/rubyonrails-core/browse_thread/thread/49d2a7e9c96cb9f4)
|
||||
|
||||
### Other Active Record Changes
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# gem 'activerecord-jdbcmysql-adapter'
|
||||
#
|
||||
# And be sure to use new-style password hashing:
|
||||
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
|
||||
# http://dev.mysql.com/doc/refman/5.6/en/old-client.html
|
||||
#
|
||||
default: &default
|
||||
adapter: mysql
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
# gem 'mysql2'
|
||||
#
|
||||
# And be sure to use new-style password hashing:
|
||||
# http://dev.mysql.com/doc/refman/5.0/en/old-client.html
|
||||
# http://dev.mysql.com/doc/refman/5.6/en/old-client.html
|
||||
#
|
||||
default: &default
|
||||
adapter: mysql2
|
||||
|
|
Loading…
Reference in New Issue