diff options
author | unknown <ram@gw.mysql.r18.ru> | 2003-12-09 17:33:29 +0400 |
---|---|---|
committer | unknown <ram@gw.mysql.r18.ru> | 2003-12-09 17:33:29 +0400 |
commit | 7b3d8cc93f3eaede9fc93e2cc8a2b2327b82584d (patch) | |
tree | 3e4208cc5344f68b109b7e5760fb3664b3b813d7 /mysql-test/t/mysqldump.test | |
parent | 9a1cb59cd721a5a3a7e8a4ea1720fddc3d449892 (diff) | |
download | mariadb-git-7b3d8cc93f3eaede9fc93e2cc8a2b2327b82584d.tar.gz |
Fix for the bugs:
#2005 Long decimal comparion bug.
#2055 mysqldump should replace "-inf" numeric field values with "NULL"
Diffstat (limited to 'mysql-test/t/mysqldump.test')
-rw-r--r-- | mysql-test/t/mysqldump.test | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/mysql-test/t/mysqldump.test b/mysql-test/t/mysqldump.test index c98fd4050f2..87363855db0 100644 --- a/mysql-test/t/mysqldump.test +++ b/mysql-test/t/mysqldump.test @@ -8,3 +8,22 @@ CREATE TABLE t1(a int); INSERT INTO t1 VALUES (1), (2); --exec $MYSQL_DUMP -X test t1 DROP TABLE t1; + +# +# Bug #2005 +# + +CREATE TABLE t1 (a decimal(240, 20)); +INSERT INTO t1 VALUES ("1234567890123456789012345678901234567890"), +("0987654321098765432109876543210987654321"); +--exec $MYSQL_DUMP test t1 +DROP TABLE t1; + +# +# Bug #2055 +# + +CREATE TABLE t1 (a double); +INSERT INTO t1 VALUES (-9e999999); +--exec $MYSQL_DUMP test t1 +DROP TABLE t1; |