MySQL Forums
Forum List  »  InnoDB

Re: Is this normal?
Posted by: Radu Chiriac
Date: January 07, 2005 03:36PM

My guess is:
mysql is trying to lock the index... and to get an auto-inc lock... and i suspect it doesn't do it in the same order - if it would be trying to acquire locks in the same order u wouldn't have a deadlock (but if u wouldn't commit the first transaction during a reasonable period of time your second transaction would timeout which is perfectly ok) . But it's not normal, there has to be another explanation... because that stuff that u r getting with a deadlock is not good...

Options: ReplyQuote


Subject
Views
Written By
Posted
4319
January 06, 2005 12:32PM
2974
January 07, 2005 03:30PM
Re: Is this normal?
2844
January 07, 2005 03:36PM
3277
January 07, 2005 10:55PM
2934
January 10, 2005 05:08PM
2995
January 11, 2005 10:35AM
3208
January 12, 2005 09:56AM
2920
January 12, 2005 04:46PM
3524
January 12, 2005 05:36PM


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.