summaryrefslogtreecommitdiff
path: root/mysql-test/t/delayed.test
diff options
context:
space:
mode:
authorunknown <ramil/ram@ramil.myoffice.izhnet.ru>2007-11-28 12:49:48 +0400
committerunknown <ramil/ram@ramil.myoffice.izhnet.ru>2007-11-28 12:49:48 +0400
commitb908c2228d9f392f44bf0d4c2e122befdffa9cf1 (patch)
tree16e7cabc79a0844bf84f2d2f15fae9da84e5c6f2 /mysql-test/t/delayed.test
parentf0ac4a74dfcc814b7070dc254e6cf694d086ac9d (diff)
parent503755256d9bb4c07a4f0fd62cec5de64c7ae21a (diff)
downloadmariadb-git-b908c2228d9f392f44bf0d4c2e122befdffa9cf1.tar.gz
Merge mysql.com:/home/ram/work/b32676/b32676.5.0
into mysql.com:/home/ram/work/b32676/b32676.5.1 sql/sql_insert.cc: Auto merged mysql-test/r/delayed.result: manual merge. mysql-test/t/delayed.test: manual merge.
Diffstat (limited to 'mysql-test/t/delayed.test')
-rw-r--r--mysql-test/t/delayed.test11
1 files changed, 11 insertions, 0 deletions
diff --git a/mysql-test/t/delayed.test b/mysql-test/t/delayed.test
index b542027207f..ce57645bd4b 100644
--- a/mysql-test/t/delayed.test
+++ b/mysql-test/t/delayed.test
@@ -244,6 +244,16 @@ SELECT HEX(a) FROM t1;
DROP TABLE t1;
#
+# Bug #32676: insert delayed crash with wrong column and function specified
+#
+CREATE TABLE t1 (a INT);
+--error ER_BAD_FIELD_ERROR
+INSERT DELAYED INTO t1 SET b= b();
+DROP TABLE t1;
+
+--echo End of 5.0 tests
+
+#
# Bug#27358 INSERT DELAYED does not honour SQL_MODE of the client
#
--disable_warnings
@@ -275,3 +285,4 @@ INSERT DELAYED INTO t2 VALUES (0,'0000-00-00');
INSERT DELAYED INTO t2 VALUES (0,'2007-00-00');
DROP TABLE t1,t2;
+--echo End of 5.1 tests