make linux to behave (like freebsd does :)

This commit is contained in:
unknown 2004-10-20 14:13:07 +02:00
parent 22f0e4d9aa
commit 6853eb45c8
2 changed files with 3 additions and 1 deletions

View file

@ -805,7 +805,7 @@ col1 col2
1.7e+308 1.7e+308 1.7e+308 1.7e+308
-2.2e-308 0 -2.2e-308 0
1.7e+308 1.7e+308 1.7e+308 1.7e+308
-0 NULL 0 NULL
2 NULL 2 NULL
NULL NULL NULL NULL
1.79769313486232e+308 0 1.79769313486232e+308 0

View file

@ -556,6 +556,8 @@ INSERT IGNORE INTO t1 (col1) values (1/0);
--error 1367 --error 1367
INSERT IGNORE INTO t1 VALUES (+1.9E+309,-1.9E+309); INSERT IGNORE INTO t1 VALUES (+1.9E+309,-1.9E+309);
INSERT IGNORE INTO t1 VALUES ('+2.0E+309','-2.0E+309'); INSERT IGNORE INTO t1 VALUES ('+2.0E+309','-2.0E+309');
# stupid...
--replace_result -0 0
SELECT * FROM t1; SELECT * FROM t1;
DROP TABLE t1; DROP TABLE t1;