I have a table in which data is inserted and ID number work as auto_increment and primary key, the problem I am facing is that when there is wrong transaction or error in insertion of table row, the ID number jumps the sequence.
I just want it should not jump the sequence and stick to sequence.
I have gone through some other question asked on same issue and I know that innodb
use auto increment feature at the beginning of transaction but I want somehow this should be at the end