mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
Don't use IGNORE by default in INSERT ... SELECT
This commit is contained in:
@@ -1626,8 +1626,7 @@ mysql_execute_command(void)
|
||||
if (!(res=open_and_lock_tables(thd, tables)))
|
||||
{
|
||||
if ((result=new select_insert(tables->table,&lex->field_list,
|
||||
lex->sql_command == SQLCOM_REPLACE_SELECT ?
|
||||
DUP_REPLACE : DUP_IGNORE)))
|
||||
lex->duplicates)))
|
||||
res=handle_select(thd,lex,result);
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user