aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapters/mysql2/schema_test.rb
diff options
context:
space:
mode:
authorJeremy Daer <jeremydaer@gmail.com>2016-04-08 17:49:59 -0700
committerJeremy Daer <jeremydaer@gmail.com>2016-04-08 18:41:25 -0700
commit2224d06cfade0e0142e834ef1aa7a93881ccf3e4 (patch)
tree380c23022da47d364f942a285eeeab31cae96890 /activerecord/test/cases/adapters/mysql2/schema_test.rb
parent2080ff2872e9604155a276a830b38844dc45c3b4 (diff)
downloadrails-2224d06cfade0e0142e834ef1aa7a93881ccf3e4.tar.gz
rails-2224d06cfade0e0142e834ef1aa7a93881ccf3e4.tar.bz2
rails-2224d06cfade0e0142e834ef1aa7a93881ccf3e4.zip
Support microsecond datetime precision on MariaDB 5.3+.
We support microsecond datetime precision for MySQL 5.6.4+. MariaDB has supported it since 5.3.0, but even 10.x versions return a compatible version string like `5.5.5-10.1.8-MariaDB-log` which we parse as 5.5.5, before MySQL supported microsecond precision. Specialize our version check to account for MariaDB to fix.
Diffstat (limited to 'activerecord/test/cases/adapters/mysql2/schema_test.rb')
0 files changed, 0 insertions, 0 deletions