Re: Innodb Lock bug with select for update ?
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.
Subject
Views
Written By
Posted
5356
July 08, 2008 03:21AM
2012
July 08, 2008 04:30AM
Re: Innodb Lock bug with select for update ?
2193
July 08, 2008 06:11AM
2287
July 08, 2008 09:00AM
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.