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