Using MySQL 5.1.37
This is not a very important issue, one of our business developers just asked about it, and I did not have a good answer. Our user table has a primary key with auto-increment. From time to time, he skips numbers and seems to do it more often. My initial thought was that when two concurrent registrations occurred and one was invalid, that if the second registration was completed and the first was unsuccessful, we would see the missing values, since the second account will use the following identifier. But this does not seem likely due to the frequency with which this occurs. Any ideas?
source
share