On 30 jun, 14:04, mdipierro <mdipie...@cs.depaul.edu> wrote: > If that can happen, than it is wrong. My understainding is that > because we are in a transaction, before the insert is committed we get > the id of the last record. >
Okay, but "I believe" that everything about AUTO_INCREMENT fields are out of the transactions. They are independent of whether you commit or rollback.