Bug #24144 | strange transactional behaviour: DROP TABLE drops also locks | ||
---|---|---|---|
Submitted: | 9 Nov 2006 14:20 | Modified: | 18 Jun 2008 10:45 |
Reporter: | Matthias Leich | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server: Locking | Severity: | S2 (Serious) |
Version: | 5.1-BK | OS: | Linux (Linux) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[9 Nov 2006 14:20]
Matthias Leich
[9 Nov 2006 14:21]
Matthias Leich
test script
Attachment: ml06.test (application/octet-stream, text), 1.32 KiB.
[9 Nov 2006 14:42]
Heikki Tuuri
Matthias, Monty decided in December 2000 that DROP TABLE should succeed even if someone else has locks on the table. It is in the MySQL AB TODO to change that behavior. I am classifying this as a Server bug because the fix has to be done in the server. The interpreter should ask the engine if there are some other users' locks on the table. Regards, Heikki
[9 Nov 2006 15:38]
Matthias Leich
Heikki, thank you for your fast response. I did not know that there was such a decision. Even if the bug report will be classified as change request we have here a clear documentation bug. Regards, Matthias
[9 Nov 2006 17:55]
Valeriy Kravchuk
Thank you for a bug report/documentation request.
[4 Dec 2006 21:52]
Peter Gulutzan
Looks like a duplicate of Bug#12347 InnoDB: DROP TABLE ignores locks
[18 Jun 2008 10:45]
Konstantin Osipov
Duplicate of Bug#989.