1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-31 22:22:30 +03:00

row0mysql.c:

row_truncate_table_for_mysql(): Reset the auto_increment counter.
This commit is contained in:
marko@hundin.mysql.fi
2005-01-13 15:14:11 +02:00
parent 1fdff1f344
commit c414f138c7

View File

@@ -2683,6 +2683,7 @@ fputs(" InnoDB: Unable to assign a new identifier to table ", stderr);
dict_table_change_id_in_cache(table, new_id);
}
dict_table_autoinc_initialize(table, 0);
dict_update_statistics(table);
trx_commit_for_mysql(trx);