Bug #60332 Deadlock of innodb
| Submitted: | 4 Mar 2011 9:59 | Modified: | 4 Mar 2011 22:52 |
|---|---|---|---|
| Reporter: | yuan chaohua | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server | Severity: | S2 (Serious) |
| Version: | 5.1.53 | OS: | Linux |
| Assigned to: | CPU Architecture: | Any |
[4 Mar 2011 9:59]
yuan chaohua
[4 Mar 2011 10:06]
yuan chaohua
on one session begin; insert into roomidmapping (lineid, rid, gid) values (3, 101, 773); end;// on a different session try insert into roomidmapping (lineid, rid, gid) values (3, 101, 772);end;// will repeat this deadlock.
[4 Mar 2011 10:22]
yuan chaohua
The "end" should be commit. so do not commit the first transaction and execute the second one the deadlock will appear.
[4 Mar 2011 22:52]
Sveta Smirnova
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php InnoDB correctly detected deadlock in your case. This is not a bug.
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
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.