Commit 87fbeb40 authored by serg@serg.mysql.com's avatar serg@serg.mysql.com

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

parent fd11c804
...@@ -3046,6 +3046,15 @@ expr_or_default: ...@@ -3046,6 +3046,15 @@ expr_or_default:
opt_insert_update: opt_insert_update:
/* empty */ /* empty */
| ON DUPLICATE KEY_SYM UPDATE_SYM SET update_list | 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 */ /* Update rows in a table */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment