Noticed in mysql, when rolling back a ROLLBACK transaction, INSERT INTO AUTO_INCREMENT operations are not rolled back. InnoBD table type.
The problem is that you need the same id, since in the future there is a selection of a bunch of tables by id.
Is it possible to set up an AUTO_INCREMENT rollback or to add a new column to control the integrity of the id?
last_insert_id()function - Mike