diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2015-10-20 14:02:23 -0600 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2015-10-20 14:02:23 -0600 |
commit | 72fba7db413561cf293178d5df0708c9380356fb (patch) | |
tree | 8a38fef3f866800edbe9a110d460410ca3ed9c77 /activerecord/test/cases/helper.rb | |
parent | ee865eb244c8db11dcfbadbce0994d3c6488e7ec (diff) | |
parent | d39b6f77fc75790b1b2b3c5201bb037645d01483 (diff) | |
download | rails-72fba7db413561cf293178d5df0708c9380356fb.tar.gz rails-72fba7db413561cf293178d5df0708c9380356fb.tar.bz2 rails-72fba7db413561cf293178d5df0708c9380356fb.zip |
Merge pull request #21932 from kamipo/add_stored_procedure_test_in_mysql2
Add stored procedure test in mysql2
Diffstat (limited to 'activerecord/test/cases/helper.rb')
-rw-r--r-- | activerecord/test/cases/helper.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/helper.rb b/activerecord/test/cases/helper.rb index 89bd3f888e..d82a3040fc 100644 --- a/activerecord/test/cases/helper.rb +++ b/activerecord/test/cases/helper.rb @@ -47,7 +47,7 @@ def in_memory_db? end def subsecond_precision_supported? - !current_adapter?(:MysqlAdapter, :Mysql2Adapter) || ActiveRecord::Base.connection.send(:version) >= '5.6.4' + !current_adapter?(:MysqlAdapter, :Mysql2Adapter) || ActiveRecord::Base.connection.version >= '5.6.4' end def mysql_enforcing_gtid_consistency? |