summaryrefslogtreecommitdiff
path: root/mysql-test/t/insert.test
diff options
context:
space:
mode:
authorSergey Glukhov <Sergey.Glukhov@sun.com>2009-04-09 14:38:50 +0500
committerSergey Glukhov <Sergey.Glukhov@sun.com>2009-04-09 14:38:50 +0500
commitd2e6c462c8bbc0c2d0390685a368f9e6d83b8f01 (patch)
treea0c0be35db134a9cf14f64bdfb6bd4937acf1d76 /mysql-test/t/insert.test
parent53f8922307dd8504dbe14ee1ca3106cb51b5c151 (diff)
parent920abd58b2172ff39275e852924fa2dc41775f1c (diff)
downloadmariadb-git-d2e6c462c8bbc0c2d0390685a368f9e6d83b8f01.tar.gz
5.0-bugteam->5.1-bugteam merge
Diffstat (limited to 'mysql-test/t/insert.test')
-rw-r--r--mysql-test/t/insert.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/insert.test b/mysql-test/t/insert.test
index c58fb61ad30..8f9ed6c7d06 100644
--- a/mysql-test/t/insert.test
+++ b/mysql-test/t/insert.test
@@ -488,5 +488,14 @@ SELECT * FROM t2;
DROP TABLE t1, t2;
+#
+# Bug#43833 Simple INSERT crashes the server
+#
+CREATE TABLE t1(f1 FLOAT);
+INSERT INTO t1 VALUES (1.23);
+CREATE TABLE t2(f1 CHAR(1));
+INSERT INTO t2 SELECT f1 FROM t1;
+DROP TABLE t1, t2;
+
--echo End of 5.0 tests.