1
0
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:
unknown
2001-11-08 14:17:56 +02:00
parent 356003a8c9
commit 897e7453d6
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