Bug #6285 | LOCK TABLES does not start a transaction with InnoDB as described in manual | ||
---|---|---|---|
Submitted: | 27 Oct 2004 14:22 | Modified: | 28 Oct 2004 8:08 |
Reporter: | Levap Aretnyd | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Replication | Severity: | S2 (Serious) |
Version: | 5.0.2-alpha-debug | OS: | Windows (Windows 2003) |
Assigned to: | Heikki Tuuri | CPU Architecture: | Any |
[27 Oct 2004 14:22]
Levap Aretnyd
[28 Oct 2004 8:08]
Heikki Tuuri
Hi! Thank you, I have now updated the manual. I removed that vague claim. I also added SET AUTOCOMMIT=0; to the example code, so that MySQL's table locks and InnoDB's table locks behave nicely in unison. The fact is that if AUTOCOMMIT=1, then there is a commit after each SQL statement also inside LOCK TABLES. Regards, Heikki