From d905aade4f5ef4c15321d57fff31f45d2952498e Mon Sep 17 00:00:00 2001 From: "kaa@polly.(none)" <> Date: Sun, 2 Dec 2007 13:49:12 +0300 Subject: Windows-specific fixes in floating point tests. --- mysql-test/t/insert.test | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mysql-test/t/insert.test') diff --git a/mysql-test/t/insert.test b/mysql-test/t/insert.test index 3c150d0c3f6..5cb85d32383 100644 --- a/mysql-test/t/insert.test +++ b/mysql-test/t/insert.test @@ -423,6 +423,9 @@ INSERT INTO t1(a,c) VALUES (-1.87e-2, -1.87e-2); INSERT INTO t1(a,c) VALUES (5000e+0, 5000e+0); INSERT INTO t1(a,c) VALUES (-5000e+0, -5000e+0); +# Expected results are "12.2" and "1.2e+78", but Windows returns "12.3" and +# "1.3e+78" due to different rounding rules +--replace_result 12.3 12.2 1.3e+78 1.2e+78 SELECT * FROM t1; DROP TABLE t1; -- cgit v1.2.1