mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
Bug#10109
"INSERT .. SELECT ... ON DUPLICATE KEY UPDATE fails" Ensure that check_insert_fields() is only called once when doing an INSERT..SELECT
This commit is contained in:
@@ -2877,7 +2877,8 @@ unsent_create_error:
|
||||
lex->field_list, 0,
|
||||
lex->update_list, lex->value_list,
|
||||
lex->duplicates)) &&
|
||||
(result= new select_insert(insert_table, &lex->field_list,
|
||||
(result= new select_insert(insert_table, first_local_table,
|
||||
&dup_tables, &lex->field_list,
|
||||
&lex->update_list, &lex->value_list,
|
||||
lex->duplicates, lex->ignore)))
|
||||
{
|
||||
|
Reference in New Issue
Block a user