Commit 4088329b authored by knielsen@mysql.com's avatar knielsen@mysql.com

Merge mysql.com:/usr/local/mysql/mysql-5.0-fixcast

into  mysql.com:/usr/local/mysql/mysql-5.0-tmp
parents 1f9d9643 b9d427ca
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment