Re: InnoDB Autoincrement deadlock,

2001-05-14 Thread Heikki Tuuri
Joe, it is a feature which will change :). What it currently does is to execute a SELECT MAX(auto-increment-column) before it does the insert. When the other user comes, he will set a waiting next-key lock in his SELECT MAX(...). The waiting lock prevents the first user from inserting. I knew th

InnoDB Autoincrement deadlock,

2001-05-14 Thread Joe Kislo
I'm having some problems with tables using autoincrementing primary keys when I use InnoDB.. I've searched through the documentation at Mysql and innobase's website, and havn't been able to find anything saying this is a limitation of innodb, so I will assume this is a bug (or unintention