Bug #26826 | Falcon engine does not lock properly | ||
---|---|---|---|
Submitted: | 3 Mar 2007 19:58 | Modified: | 20 Apr 2007 14:47 |
Reporter: | Venu Anuganti | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server: Falcon storage engine | Severity: | S2 (Serious) |
Version: | 5.2 | OS: | Any |
Assigned to: | Jim Starkey | CPU Architecture: | Any |
Tags: | falcon, locking, select for update |
[3 Mar 2007 19:58]
Venu Anuganti
[3 Mar 2007 20:00]
Venu Anuganti
it should be the case for all platforms and not specific to Windows
[3 Mar 2007 20:40]
Ann Harrison
Select for update isn't working yet - should be pushed soon
[17 Apr 2007 13:12]
Hakan Küçükyılmaz
SELECT FOR UPDATE works now: Say, we have two connection called T1 and T2: T1: CREATE TABLE t1 (a int) Engine Falcon; INSERT INTO t1 VALUES (1), (2), (3); COMMIT; SET @@autocommit = 0; SELECT a FROM t1 FOR UPDATE; [15:09] root@test>SELECT a FROM t1 FOR UPDATE; +------+ | a | +------+ | 1 | | 2 | | 3 | +------+ 3 rows in set (0.00 sec) T2: [15:09] root@test>SELECT a FROM t1 FOR UPDATE; -- This waits now until T1 either COMMITs or ROLLBACKs T1: COMMIT; T2: [15:09] root@test>SELECT a FROM t1 FOR UPDATE; +------+ | a | +------+ | 1 | | 2 | | 3 | +------+ 3 rows in set (36.09 sec) See also Bug#27722 Best regards, Hakan
[17 Apr 2007 13:15]
Hakan Küçükyılmaz
Venu, you will find this fix in the upcoming alpha release.
[20 Apr 2007 14:47]
MC Brown
A note has been added to the 5.2.4 changelog.
[10 Jul 2007 19:08]
MC Brown
This bug report entry has been moved to the 6.0.0 Falcon changelog.