summaryrefslogtreecommitdiff
path: root/mysql-test/r/cast.result
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2011-11-03 12:59:48 +0100
committerSergei Golubchik <sergii@pisem.net>2011-11-03 12:59:48 +0100
commitfb43946dad1eab6a8e43b02eaa5d681c1ecc8474 (patch)
treea256c643bdab74972070678924108c92698b2f50 /mysql-test/r/cast.result
parent178c6eced6255ceb0c4d37f646d3f9f6baab4b33 (diff)
downloadmariadb-git-fb43946dad1eab6a8e43b02eaa5d681c1ecc8474.tar.gz
cast.test: use exact double, to be independent from compiler optimizations
Diffstat (limited to 'mysql-test/r/cast.result')
-rw-r--r--mysql-test/r/cast.result6
1 files changed, 3 insertions, 3 deletions
diff --git a/mysql-test/r/cast.result b/mysql-test/r/cast.result
index 2576fe8fa63..82d93a606ba 100644
--- a/mysql-test/r/cast.result
+++ b/mysql-test/r/cast.result
@@ -105,9 +105,9 @@ cast("2011-02-03 10:11:12.123456" as datetime(6))
select cast("2011-02-03 10:11:12" as datetime(6));
cast("2011-02-03 10:11:12" as datetime(6))
2011-02-03 10:11:12.000000
-select cast(cast(20010203101112.1 as double) as datetime(1));
-cast(cast(20010203101112.1 as double) as datetime(1))
-2001-02-03 10:11:12.1
+select cast(cast(20010203101112.5 as double) as datetime(1));
+cast(cast(20010203101112.5 as double) as datetime(1))
+2001-02-03 10:11:12.5
select cast(cast(010203101112.12 as double) as datetime(2));
cast(cast(010203101112.12 as double) as datetime(2))
0001-02-03 10:11:12.12