mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
MDEV-15316 Assertion `(thd->lex)->var_list.is_empty()' failed in MYSQLparse
This commit is contained in:
parent
902ace0968
commit
0f26f71b49
4 changed files with 12 additions and 2 deletions
|
@ -1821,3 +1821,8 @@ id select_type table type possible_keys key key_len ref rows filtered Extra
|
|||
1 SIMPLE NULL NULL NULL NULL NULL NULL NULL NULL No tables used
|
||||
Warnings:
|
||||
Note 1003 select @@FOObar.KEY_BUFfer_size AS "@@FOObar.KEY_BUFfer_size" from DUAL where rand() > @@fooBAR.key_buffer_size
|
||||
#
|
||||
# MDEV-15316 Assertion `(thd->lex)->var_list.is_empty()' failed in MYSQLparse
|
||||
#
|
||||
SET GLOBAL mc.key_cache_age_threshold=100, mc.key_cache_block_size=1024;
|
||||
SET GLOBAL mc.key_buffer_size= 0 /*cleanup*/;
|
||||
|
|
|
@ -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*/;
|
||||
|
|
|
@ -15984,7 +15984,6 @@ option_value_no_option_type:
|
|||
}
|
||||
| ident '.' ident equal set_expr_or_default
|
||||
{
|
||||
DBUG_ASSERT(Lex->var_list.is_empty());
|
||||
if (Lex->set_variable(&$1, &$3, $5))
|
||||
MYSQL_YYABORT;
|
||||
}
|
||||
|
|
|
@ -15839,7 +15839,6 @@ option_value_no_option_type:
|
|||
}
|
||||
| ident '.' ident equal set_expr_or_default
|
||||
{
|
||||
DBUG_ASSERT(Lex->var_list.is_empty());
|
||||
if (Lex->set_variable(&$1, &$3, $5))
|
||||
MYSQL_YYABORT;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue