mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
Move reset of insert_values to ensure it's done also during error conditions
This fixed a failure of insert_update.test on some platforms
This commit is contained in:
@@ -979,6 +979,7 @@ TABLE *open_table(THD *thd,const char *db,const char *table_name,
|
||||
if (table->timestamp_field)
|
||||
table->timestamp_field_type= table->timestamp_field->get_auto_set_type();
|
||||
DBUG_ASSERT(table->key_read == 0);
|
||||
DBUG_ASSERT(table->insert_values == 0);
|
||||
DBUG_RETURN(table);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user