mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
added CHECK option test for INSERT ... ON DUPLICATE KEY UPDATE (WL#1983)
This commit is contained in:
@ -2769,7 +2769,8 @@ unsent_create_error:
|
||||
if ((res= mysql_insert_select_prepare(thd)))
|
||||
break;
|
||||
if ((result= new select_insert(first_table, first_table->table,
|
||||
&lex->field_list, lex->duplicates)))
|
||||
&lex->field_list, lex->duplicates,
|
||||
lex->duplicates == DUP_IGNORE)))
|
||||
/* Skip first table, which is the table we are inserting in */
|
||||
lex->select_lex.table_list.first= (byte*) first_table->next_local;
|
||||
/*
|
||||
|
Reference in New Issue
Block a user