summaryrefslogtreecommitdiff
path: root/mysql-test/t/blackhole.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/blackhole.test')
-rw-r--r--mysql-test/t/blackhole.test9
1 files changed, 9 insertions, 0 deletions
diff --git a/mysql-test/t/blackhole.test b/mysql-test/t/blackhole.test
index 257770d311c..4375f1c13ce 100644
--- a/mysql-test/t/blackhole.test
+++ b/mysql-test/t/blackhole.test
@@ -126,4 +126,13 @@ show binlog events;
drop table t1,t2,t3;
+#
+# BUG#27998 - mysqld crashed when executing INSERT DELAYED on a BLACKHOLE
+# table
+#
+CREATE TABLE t1(a INT) ENGINE=BLACKHOLE;
+--error 1031
+INSERT DELAYED INTO t1 VALUES(1);
+DROP TABLE t1;
+
# End of 4.1 tests