diff options
author | unknown <knielsen@mysql.com> | 2006-04-10 09:31:46 +0200 |
---|---|---|
committer | unknown <knielsen@mysql.com> | 2006-04-10 09:31:46 +0200 |
commit | c48ded66d39abe1f62e53a403ca37a601552f58d (patch) | |
tree | b8c8a7ea29d93c7fd0be93b81205a7f1388c1832 /mysql-test/t/cast.test | |
parent | 35be8c8892c1d6cc2b73abf1652b110f86cdbd30 (diff) | |
download | mariadb-git-c48ded66d39abe1f62e53a403ca37a601552f58d.tar.gz |
Fix test case 'cast' on Windows, different floating point output format.
Diffstat (limited to 'mysql-test/t/cast.test')
-rw-r--r-- | mysql-test/t/cast.test | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/mysql-test/t/cast.test b/mysql-test/t/cast.test index 7e09f44397c..533da542855 100644 --- a/mysql-test/t/cast.test +++ b/mysql-test/t/cast.test @@ -171,6 +171,8 @@ select cast(1.0e+300 as signed int); CREATE TABLE t1 (f1 double); INSERT INTO t1 SET f1 = -1.0e+30 ; INSERT INTO t1 SET f1 = +1.0e+30 ; +# Expected result is +-1e+30, but Windows returns +-1e+030. +--replace_result 1e+030 1e+30 SELECT f1 AS double_val, CAST(f1 AS SIGNED INT) AS cast_val FROM t1; DROP TABLE t1; |