summaryrefslogtreecommitdiff
path: root/mysql-test/t/variables.test
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.com>2018-03-27 13:10:53 +0400
committerAlexander Barkov <bar@mariadb.com>2018-03-27 13:10:53 +0400
commit0f26f71b496f483061b3f3d801513070a9c3556d (patch)
treee1b9a0ddb5374b4bca8dd9eb91913a33b45ba788 /mysql-test/t/variables.test
parent902ace096816697ee5d5ac06bd5caea67b624c40 (diff)
downloadmariadb-git-0f26f71b496f483061b3f3d801513070a9c3556d.tar.gz
MDEV-15316 Assertion `(thd->lex)->var_list.is_empty()' failed in MYSQLparse
Diffstat (limited to 'mysql-test/t/variables.test')
-rw-r--r--mysql-test/t/variables.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/variables.test b/mysql-test/t/variables.test
index 8d831567252..4da3cac3a73 100644
--- a/mysql-test/t/variables.test
+++ b/mysql-test/t/variables.test
@@ -1540,3 +1540,10 @@ explain extended select @@VERsion from dual where rand() > @@verSION;
explain extended select @@SESsion.SQL_mode from dual where rand() > @@sesSION.sql_MODE;
explain extended select @@GLObal.COLLATION_connection from dual where rand() > @@gloBAL.collation_CONNECTION;
explain extended select @@FOObar.KEY_BUFfer_size from dual where rand() > @@fooBAR.key_bufFER_SIZE;
+
+--echo #
+--echo # MDEV-15316 Assertion `(thd->lex)->var_list.is_empty()' failed in MYSQLparse
+--echo #
+
+SET GLOBAL mc.key_cache_age_threshold=100, mc.key_cache_block_size=1024;
+SET GLOBAL mc.key_buffer_size= 0 /*cleanup*/;