MySQL Forums
Forum List  »  InnoDB

Re: SAVEPOINTs and deadlocks
Posted by: Jørn Stamnes
Date: June 20, 2018 04:31AM

The problem is that when a deadlock occurs, the database rolls back to the START TRANSACTION - not to the last SAVEPOINT.

I thought that if you set a SAVEPOINT and then get a deadlock, it should roll back to that savepoint, not the whole transaction. Perhaps I have misunderstood this?

Options: ReplyQuote


Subject
Views
Written By
Posted
1933
June 19, 2018 02:00AM
981
June 19, 2018 02:44AM
844
June 19, 2018 12:08PM
Re: SAVEPOINTs and deadlocks
922
June 20, 2018 04:31AM
847
June 20, 2018 09:56AM
838
June 21, 2018 12:19AM
735
June 21, 2018 09:42AM
710
June 22, 2018 12:52AM
694
June 22, 2018 08:11AM
729
June 26, 2018 01:33AM
747
June 26, 2018 07:34AM
731
June 27, 2018 07:05AM
710
June 27, 2018 08:02AM
820
June 27, 2018 11:46PM


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.