aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2017-01-03 11:19:47 -0500
committerGitHub <noreply@github.com>2017-01-03 11:19:47 -0500
commit0d8069d36543947dc948cbbd02c8214c352b7aad (patch)
treea92328f57c38d3c7053374239498dc0e8e7eae56 /activerecord
parent948cebd017b6fd02b6be0d9d469adc8a297fb249 (diff)
parentecca3d6052d0dc104274a3d6f7da5fd7b216061b (diff)
downloadrails-0d8069d36543947dc948cbbd02c8214c352b7aad.tar.gz
rails-0d8069d36543947dc948cbbd02c8214c352b7aad.tar.bz2
rails-0d8069d36543947dc948cbbd02c8214c352b7aad.zip
Merge pull request #27435 from kamipo/follow_up_25307
Active Record supports MySQL >= 5.1.10
Diffstat (limited to 'activerecord')
-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 1c3d10c15d..01cd1e5446 100644
--- a/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
+++ b/activerecord/lib/active_record/connection_adapters/abstract_mysql_adapter.rb
@@ -67,8 +67,8 @@ module ActiveRecord
@statements = StatementPool.new(self.class.type_cast_config_to_integer(config[:statement_limit]))
- if version < "5.0.0"
- raise "Your version of MySQL (#{full_version.match(/^\d+\.\d+\.\d+/)[0]}) is too old. Active Record supports MySQL >= 5.0."
+ if version < "5.1.10"
+ raise "Your version of MySQL (#{full_version.match(/^\d+\.\d+\.\d+/)[0]}) is too old. Active Record supports MySQL >= 5.1.10."
end
end