summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <ram@gw.mysql.r18.ru>2003-12-10 18:41:12 +0400
committerunknown <ram@gw.mysql.r18.ru>2003-12-10 18:41:12 +0400
commit3ccc9cad55b8407a0278632c20648b78e82c4cca (patch)
treee899777af16ae89291ccd90206273ec8c7fe3de4 /mysql-test
parentd910c3c157523511a4466f42fa51981e04801e7e (diff)
parent36119b7e20ad44d187e3621fa7b4d6ef5748eee6 (diff)
downloadmariadb-git-3ccc9cad55b8407a0278632c20648b78e82c4cca.tar.gz
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.0
into gw.mysql.r18.ru:/usr/home/ram/work/4.0.b2005
Diffstat (limited to 'mysql-test')
-rw-r--r--mysql-test/t/mysqldump.test19
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;