mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-11953: support of brackets in UNION/EXCEPT/INTERSECT operations
This commit is contained in:
@ -492,7 +492,7 @@ bool Sql_cmd_truncate_table::truncate_table(THD *thd, TABLE_LIST *table_ref)
|
||||
bool Sql_cmd_truncate_table::execute(THD *thd)
|
||||
{
|
||||
bool res= TRUE;
|
||||
TABLE_LIST *table= thd->lex->select_lex.table_list.first;
|
||||
TABLE_LIST *table= thd->lex->first_select_lex()->table_list.first;
|
||||
DBUG_ENTER("Sql_cmd_truncate_table::execute");
|
||||
|
||||
if (check_one_table_access(thd, DROP_ACL, table))
|
||||
|
Reference in New Issue
Block a user