Bug #58927 | LOCK TABLES > CREATE TABLE [LIKE] behavior in 5.5 to be made configurable | ||
---|---|---|---|
Submitted: | 14 Dec 2010 20:03 | ||
Reporter: | Roel Van de Paar | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Locking | Severity: | S4 (Feature request) |
Version: | 5.5.7rc | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[14 Dec 2010 20:03]
Roel Van de Paar
[14 Dec 2010 20:21]
Roel Van de Paar
More elaborate workaround example with two tables: CREATE TABLE t1 (id int); CREATE TABLE to_be_renamed (final_columns int); LOCK TABLES t1 WRITE, to_be_renamed WRITE; ALTER TABLE to_be_renamed RENAME final_name; UNLOCK TABLES;
[14 Dec 2010 20:24]
MySQL Verification Team
Startup variable makes sense, but it would have to be global-only and NOT on-line, as too many mutexes and too much code would be affected .....
[7 Feb 2011 21:12]
Sveta Smirnova
See bug #59999 for real-life problem with this behavior.