MySQL Forums
Forum List  »  InnoDB

Re: Innodb Lock bug with select for update ?
Posted by: Christophe Fondacci
Date: July 08, 2008 06:11AM

My initial "real" case used an index and the problem occurs.
I have simplified my test case to the minimal operations needed to reproduce.

However, I made a try with :
alter table lck add primary key (id)
;

and re-run the test case.
=> Exact same lock behaviour.

My workaround so far :
First simple select on the table (without the for update clause)
Only select for update if the first select returned a row.

Any other idea?
Thanks
Christophe.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Innodb Lock bug with select for update ?
2193
July 08, 2008 06:11AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.