1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

cleanup TABLE_LIST

This commit is contained in:
Eugene Kosov
2018-05-22 22:32:14 +03:00
committed by Sergey Vojtovich
parent 611488e3d9
commit c13e3c37be
3 changed files with 5 additions and 11 deletions

View File

@ -749,12 +749,6 @@ bool mysql_insert(THD *thd,TABLE_LIST *table_list,
table_list->table_name.str);
DBUG_RETURN(TRUE);
}
/*
mark the table_list as a target for insert, to skip the DT/view prepare phase
for correct access rights checks
TODO: remove this hack
*/
table_list->skip_prepare_derived= TRUE;
if (table_list->lock_type == TL_WRITE_DELAYED)
{