aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/adapters/mysql2/datetime_precision_quoting_test.rb
Commit message (Collapse)AuthorAgeFilesLines
* Support microsecond datetime precision on MariaDB 5.3+.Jeremy Daer2016-04-081-0/+45
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.