MySQL Forums
Forum List  »  InnoDB

Re: Deadlock with single SQL statement ?
Posted by: Maxim M
Date: June 29, 2005 01:18AM

Heikki Tuuri wrote:
> Maxim,
> the deadlock happens for T1 (transaction 2 above).
> InnoDB decides to roll back T2, because T2 has
> done less work than T1. That is why you receive
> the deadlock error from T2!

And than BIG question - why deadlock happens in T1 if only this transaction work currently ?
How happens that single T1 transaction locks itself ?
Probably it MySQL/InnoDB bug ?

Options: ReplyQuote

Written By
April 07, 2005 11:12AM
Re: Deadlock with single SQL statement ?
June 29, 2005 01:18AM

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.