let's leave "INSERT ... SELECT ... UPDATE" for the future

This commit is contained in:
unknown 2002-11-29 16:17:52 +01:00
parent 8e02b39abd
commit 1d418357ed

View file

@ -3046,6 +3046,15 @@ expr_or_default:
opt_insert_update:
/* empty */
| ON DUPLICATE KEY_SYM UPDATE_SYM SET update_list
{ /* for simplisity, let's forget about
INSERT ... SELECT ... UPDATE
for a moment */
if (Lex->sql_command != SQLCOM_INSERT)
{
send_error(Lex->thd, ER_SYNTAX_ERROR);
YYABORT;
}
}
;
/* Update rows in a table */