diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2015-09-23 09:09:50 -0600 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2015-09-23 09:09:50 -0600 |
commit | f696494aedf453d8fd51a13005dfbd34477ccc45 (patch) | |
tree | 75fef7b5a8e1a23a9e82c00deeea6ba8f0d0cdf2 /actionpack/test/dispatch/exception_wrapper_test.rb | |
parent | 66337b62ad5fe8004394608584baff137f4cc93e (diff) | |
download | rails-f696494aedf453d8fd51a13005dfbd34477ccc45.tar.gz rails-f696494aedf453d8fd51a13005dfbd34477ccc45.tar.bz2 rails-f696494aedf453d8fd51a13005dfbd34477ccc45.zip |
Don't attempt to specify datetime precision unless supported
Specifically, versions of MySQL prior to 5.6 do not support this, which
is what's used on Travis by default. The method `mysql_56?` appeared to
only ever be used to conditionally apply subsecond precision, so I've
generalized it and used it more liberally.
This should fix the test failures caused by #20317
Diffstat (limited to 'actionpack/test/dispatch/exception_wrapper_test.rb')
0 files changed, 0 insertions, 0 deletions