aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib
diff options
context:
space:
mode:
authorYasuo Honda <yasuo.honda@gmail.com>2018-09-13 10:45:32 +0000
committerYasuo Honda <yasuo.honda@gmail.com>2018-09-13 12:17:40 +0000
commita338314d31b2a6d0f3cefcfc8c897369094098e4 (patch)
tree5feb0cbe96ef39a1fdf679e08a050e3cd8bed486 /activerecord/lib
parent70043da86a3510063c668061bd84d1661188d3e8 (diff)
downloadrails-a338314d31b2a6d0f3cefcfc8c897369094098e4.tar.gz
rails-a338314d31b2a6d0f3cefcfc8c897369094098e4.tar.bz2
rails-a338314d31b2a6d0f3cefcfc8c897369094098e4.zip
Drop MySQL 5.1 support
* MySQL 5.1 does not support `utf8mb4` character set * MySQL 5.1 had been already EOLed on Dec 2013 https://www.mysql.com/support/eol-notice.html > Per Oracle's Lifetime Support policy, as of December 31, 2013, MySQL 5.1 > is covered under Oracle Sustaining Support. * MySQL 5.5.8 is the first General Availability of MySQL 5.5 https://dev.mysql.com/doc/relnotes/mysql/5.5/en/news-5-5-8.html
Diffstat (limited to 'activerecord/lib')
-rw-r--r--activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb4
1 files changed, 2 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 982a38d6e1..5d4fc8324f 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
@@ -53,8 +53,8 @@ module ActiveRecord
@statements = StatementPool.new(self.class.type_cast_config_to_integer(config[:statement_limit]))
- if version < "5.1.10"
- raise "Your version of MySQL (#{version_string}) is too old. Active Record supports MySQL >= 5.1.10."
+ if version < "5.5.8"
+ raise "Your version of MySQL (#{version_string}) is too old. Active Record supports MySQL >= 5.5.8."
end
end