MySQL Forums
Forum List  »  InnoDB

Re: Tricky problem with parallel update of table.
Posted by: Rick James
Date: May 22, 2013 09:59PM

BEGIN;
do all the steps
COMMIT;

And check for errors after each query. If you get a deadlock, start over at the BEGIN.

Read about "transactions" and "ACID".

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Tricky problem with parallel update of table.
610
May 22, 2013 09:59PM


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.