File tree Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Expand file tree Collapse file tree 4 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -1821,3 +1821,8 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
1821
1821
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL No tables used
1822
1822
Warnings:
1823
1823
Note 1003 select @@FOObar.KEY_BUFfer_size AS "@@FOObar.KEY_BUFfer_size" from DUAL where rand() > @@fooBAR.key_buffer_size
1824
+ #
1825
+ # MDEV-15316 Assertion `(thd->lex)->var_list.is_empty()' failed in MYSQLparse
1826
+ #
1827
+ SET GLOBAL mc.key_cache_age_threshold=100, mc.key_cache_block_size=1024;
1828
+ SET GLOBAL mc.key_buffer_size= 0 /*cleanup*/;
Original file line number Diff line number Diff line change @@ -1540,3 +1540,10 @@ explain extended select @@VERsion from dual where rand() > @@verSION;
1540
1540
explain extended select @@SESsion.SQL_mode from dual where rand() > @@sesSION.sql_MODE;
1541
1541
explain extended select @@GLObal.COLLATION_connection from dual where rand() > @@gloBAL.collation_CONNECTION;
1542
1542
explain extended select @@FOObar.KEY_BUFfer_size from dual where rand() > @@fooBAR.key_bufFER_SIZE;
1543
+
1544
+ --echo #
1545
+ --echo # MDEV-15316 Assertion `(thd->lex)->var_list.is_empty()' failed in MYSQLparse
1546
+ --echo #
1547
+
1548
+ SET GLOBAL mc.key_cache_age_threshold=100, mc.key_cache_block_size=1024;
1549
+ SET GLOBAL mc.key_buffer_size= 0 /*cleanup*/;
Original file line number Diff line number Diff line change @@ -15984,7 +15984,6 @@ option_value_no_option_type:
15984
15984
}
15985
15985
| ident '.' ident equal set_expr_or_default
15986
15986
{
15987
- DBUG_ASSERT(Lex->var_list.is_empty());
15988
15987
if (Lex->set_variable(&$1, &$3, $5))
15989
15988
MYSQL_YYABORT;
15990
15989
}
Original file line number Diff line number Diff line change @@ -15839,7 +15839,6 @@ option_value_no_option_type:
15839
15839
}
15840
15840
| ident '.' ident equal set_expr_or_default
15841
15841
{
15842
- DBUG_ASSERT(Lex->var_list.is_empty());
15843
15842
if (Lex->set_variable(&$1, &$3, $5))
15844
15843
MYSQL_YYABORT;
15845
15844
}
You can’t perform that action at this time.
0 commit comments