mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-462: SHOW EXPLAIN: Assertion `table_list->table' fails in find_field_in_table_ref ...
- Only allow basic constants as SHOW EXPLAIN arguments.
This commit is contained in:
@ -2159,7 +2159,8 @@ mysql_execute_command(THD *thd)
|
||||
}
|
||||
|
||||
Item **it= lex->value_list.head_ref();
|
||||
if ((!(*it)->fixed && (*it)->fix_fields(lex->thd, it)) ||
|
||||
if (!(*it)->basic_const_item() ||
|
||||
(!(*it)->fixed && (*it)->fix_fields(lex->thd, it)) ||
|
||||
(*it)->check_cols(1))
|
||||
{
|
||||
my_message(ER_SET_CONSTANTS_ONLY, ER(ER_SET_CONSTANTS_ONLY),
|
||||
|
Reference in New Issue
Block a user