diff options
author | Sergei Golubchik <sergii@pisem.net> | 2011-11-03 12:59:48 +0100 |
---|---|---|
committer | Sergei Golubchik <sergii@pisem.net> | 2011-11-03 12:59:48 +0100 |
commit | fb43946dad1eab6a8e43b02eaa5d681c1ecc8474 (patch) | |
tree | a256c643bdab74972070678924108c92698b2f50 /mysql-test/t | |
parent | 178c6eced6255ceb0c4d37f646d3f9f6baab4b33 (diff) | |
download | mariadb-git-fb43946dad1eab6a8e43b02eaa5d681c1ecc8474.tar.gz |
cast.test: use exact double, to be independent from compiler optimizations
Diffstat (limited to 'mysql-test/t')
-rw-r--r-- | mysql-test/t/cast.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/t/cast.test b/mysql-test/t/cast.test index eeb87190ec1..42693a2f01e 100644 --- a/mysql-test/t/cast.test +++ b/mysql-test/t/cast.test @@ -37,7 +37,7 @@ select cast("2011-02-03 10:11:12.123456" as datetime(0)); select cast("2011-02-03 10:11:12.123456" as datetime(5)); select cast("2011-02-03 10:11:12.123456" as datetime(6)); select cast("2011-02-03 10:11:12" as datetime(6)); -select cast(cast(20010203101112.1 as double) as datetime(1)); +select cast(cast(20010203101112.5 as double) as datetime(1)); select cast(cast(010203101112.12 as double) as datetime(2)); select cast(cast(20010203101112.121314 as decimal(32,6)) as datetime(6)); select cast(20010203101112.121314 as datetime(6)); |