mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Don't use IGNORE by default in INSERT ... SELECT
Docs/manual.texi: Changelog mysql-test/r/insert_select.result: Add testcase for INSERT IGNORE mysql-test/t/insert_select.test: Add testcase for INSERT IGNORE
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