1
0
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:
monty@hundin.mysql.fi
2001-11-08 14:17:56 +02:00
parent dd43f32d5a
commit 11f34156e5
5 changed files with 18 additions and 3 deletions

View File

@@ -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