369
369
if (setup_tables_and_check_access(session, &session->lex().select_lex.context, &select_lex->top_join_list,
370
370
table_list, &select_lex->leaf_tables, false) ||
371
371
session->setup_conds(table_list, conds))
374
374
if (unique_table(table_list, table_list->next_global))
376
376
my_error(ER_UPDATE_TABLE_USED, MYF(0), table_list->alias);
380
380
if (select_lex->inner_refs_list.size() && fix_inner_refs(session, all_fields, select_lex, select_lex->ref_pointer_array))