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
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.038 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.