Because function scald_index_rebuild uses a "db_delete" instead of a db_truncate, the auto_increment field is not reset. Using "db_truncate" will also aid performance.

CommentFileSizeAuthor
scald_index-replace_db_delete.patch451 byteslmcorreia

Comments

lmcorreia created an issue. See original summary.

  • lmcorreia committed 90141f8 on 7.x-1.x
    Issue #2832452 by lmcorreia: Primary key not being reset on rebuild
    
lmcorreia’s picture

Status: Active » Fixed
lmcorreia’s picture

Status: Fixed » Closed (fixed)