summaryrefslogtreecommitdiff
path: root/mysql-test/t/blackhole.test
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2015-04-28 13:57:21 +0200
committerSergei Golubchik <serg@mariadb.org>2015-04-28 13:57:21 +0200
commitfbab0685a7b7f39db0217823ad90dd47034eae29 (patch)
tree11baae52acdb6c3300d8fe37eb804920ac172960 /mysql-test/t/blackhole.test
parent67a3ddf17abfd182b99e16cc539dc72be5da707b (diff)
downloadmariadb-git-fbab0685a7b7f39db0217823ad90dd47034eae29.tar.gz
post-merge changes, fixes, and tests
Diffstat (limited to 'mysql-test/t/blackhole.test')
-rw-r--r--mysql-test/t/blackhole.test10
1 files changed, 10 insertions, 0 deletions
diff --git a/mysql-test/t/blackhole.test b/mysql-test/t/blackhole.test
index 1451f7606e0..ca8ab6deb59 100644
--- a/mysql-test/t/blackhole.test
+++ b/mysql-test/t/blackhole.test
@@ -17,5 +17,15 @@ SELECT 1 FROM t1 WHERE a = ANY (SELECT a FROM t2);
DROP TABLE t1, t2;
+#
+# Bug#19786309 - CRASH IN UNLOCK TABLES AFTER LOCKING AND TRUNCATING TEMPORARY TABLE.
+#
+create temporary table t1 (a int) engine=blackhole;
+lock table t1 write;
+truncate table t1;
+select * from t1;
+unlock tables;
+drop temporary table t1;
+
--echo End of 5.5 tests