mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
let's leave "INSERT ... SELECT ... UPDATE" for the future
This commit is contained in:
parent
8e02b39abd
commit
1d418357ed
1 changed files with 26 additions and 17 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue