MySQL Forums
Forum List  »  InnoDB

Re: Index deadlock outside of transaction.
Posted by: Rick James
Date: March 15, 2009 10:51PM

Consider tacking FOR UPDATE on the end of the SELECT. That way, someone can't come along and insert/delete some row that would mess up the set being used for UPDATE.

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Index deadlock outside of transaction.
2185
March 15, 2009 10:51PM


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.