diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-04-12 08:04:26 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-04-17 10:04:38 +0900 |
commit | a8ee3e8836fc5467d048a6334e94c198f086a737 (patch) | |
tree | ba36db5ba0d44dcb44d4f0269504515fa3d98a83 /activesupport/test/test_case_test.rb | |
parent | e1e3be7c02acb0facbf81a97bbfe6d1a6e9ca598 (diff) | |
download | rails-a8ee3e8836fc5467d048a6334e94c198f086a737.tar.gz rails-a8ee3e8836fc5467d048a6334e94c198f086a737.tar.bz2 rails-a8ee3e8836fc5467d048a6334e94c198f086a737.zip |
Don't fallback to utf8mb3 after MySQL 8.0.0
`internal_string_options_for_primary_key` is used for creating internal
tables in newly apps. But it is no longer needed after MySQL 8.0.0.
MySQL 5.7 has introduced `innodb_default_row_format` (default `DYNAMIC`)
and has deprecated `innodb_large_prefix` and `innodb_file_format`.
The purpose of the deprecated options was for compatibility with earlier
versions of InnoDB.
https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_large_prefix
> innodb_large_prefix is deprecated and will be removed in a future
release. innodb_large_prefix was introduced in MySQL 5.5 to disable
large index key prefixes for compatibility with earlier versions of
InnoDB that do not support large index key prefixes.
https://dev.mysql.com/doc/refman/5.7/en/innodb-parameters.html#sysvar_innodb_file_format
> The innodb_file_format option is deprecated and will be removed in a
future release. The purpose of the innodb_file_format option was to
allow users to downgrade to the built-in version of InnoDB in MySQL 5.1.
Now that MySQL 5.1 has reached the end of its product lifecycle,
downgrade support provided by this option is no longer necessary.
The deprecated options has removed in MySQL 8.0.0. It is no longer
needed to take care newly created internal tables as a legacy format
after MySQL 8.0.0.
Fixes #28730.
Diffstat (limited to 'activesupport/test/test_case_test.rb')
0 files changed, 0 insertions, 0 deletions