diff options
author | unknown <marko@hundin.mysql.fi> | 2005-01-13 15:14:11 +0200 |
---|---|---|
committer | unknown <marko@hundin.mysql.fi> | 2005-01-13 15:14:11 +0200 |
commit | 4017b57bbb9927824ca85afd44aec6f4905b1ded (patch) | |
tree | 05daae956226cc0400a484719219a2e3d0c221e4 /innobase/row | |
parent | ff4507a9dec635b1fa879d3fd62b5adf05be6235 (diff) | |
download | mariadb-git-4017b57bbb9927824ca85afd44aec6f4905b1ded.tar.gz |
row0mysql.c:
row_truncate_table_for_mysql(): Reset the auto_increment counter.
innobase/row/row0mysql.c:
row_truncate_table_for_mysql(): Reset the auto_increment counter.
Diffstat (limited to 'innobase/row')
-rw-r--r-- | innobase/row/row0mysql.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/innobase/row/row0mysql.c b/innobase/row/row0mysql.c index 67477b36a05..a9b9d096e6b 100644 --- a/innobase/row/row0mysql.c +++ b/innobase/row/row0mysql.c @@ -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); |