1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-08 11:22:35 +03:00
This commit is contained in:
Ramil Kalimullin
2008-09-05 13:36:02 +05:00
7 changed files with 77 additions and 12 deletions

View File

@@ -3065,9 +3065,10 @@ bool select_insert::send_data(List<Item> &values)
DBUG_RETURN(1);
}
}
error= write_record(thd, table, &info);
table->auto_increment_field_not_null= FALSE;
if (!error)
{
if (table->triggers || info.handle_duplicates == DUP_UPDATE)