4537
4537
/* Update rows in a table */
4544
4544
lex->sql_command= SQLCOM_UPDATE;
4545
4545
lex->lock_option= TL_UNLOCK; /* Will be set later */
4546
4546
lex->duplicates= DUP_ERROR;
4547
if (!lex->select_lex.add_table_to_list(YYSession, $3, NULL,0))
4556
4555
/* it is single table update and it is update of derived table */
4557
4556
my_error(ER_NON_UPDATABLE_TABLE, MYF(0),