New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MariaDB 5.3+ supports microsecond datetime precision #24475

Merged
merged 1 commit into from Apr 9, 2016

Conversation

Projects
None yet
1 participant
@jeremy
Member

jeremy commented Apr 9, 2016

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.

@jeremy jeremy force-pushed the jeremy:ar/mariadb-supports-datetime-precision branch Apr 9, 2016

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.

@jeremy jeremy force-pushed the jeremy:ar/mariadb-supports-datetime-precision branch to 2224d06 Apr 9, 2016

@jeremy jeremy merged commit f0f16f7 into rails:master Apr 9, 2016

1 check was pending

continuous-integration/travis-ci/pr The Travis CI build is in progress
Details

@jeremy jeremy deleted the jeremy:ar/mariadb-supports-datetime-precision branch Apr 9, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment