Bug #5175 | can't DROP MERGE table if either file is missing | ||
---|---|---|---|
Submitted: | 23 Aug 2004 23:00 | Modified: | 2 Sep 2004 16:19 |
Reporter: | Igor Mendelev | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: MyISAM storage engine | Severity: | S2 (Serious) |
Version: | 4.1.2 | OS: | Linux (Linux) |
Assigned to: | CPU Architecture: | Any |
[23 Aug 2004 23:00]
Igor Mendelev
[24 Aug 2004 13:45]
MySQL Verification Team
HI! Thank you so much for writting to us. We are quite cognizant of the problem that you describe, butI am afraid that it is not that easy to resolve. Before DROP-ing a table, a server has to check whether anyone is using it, for which it needs access to it's data and if data are not in memory, then files have to be read. This deficiency will be solvable in 5.0 with a new table cache scheme.
[25 Aug 2004 17:17]
Igor Mendelev
And if MRG file is missing or corrupted, what difference would it make for already running query? Query plan was already constructed - are you saying that MRG file is used after query plan exists? But even if it does, in my case MRG file was missing anyway, so how would it help a running query that some kind of link to it's previous location existed (that prevents me from dropping this merge table ONLY, NOT tables it consisted of).
[2 Sep 2004 16:19]
Sergei Golubchik
Sorry, I wasn't able to repeat it on 4.1.4. Either your "how to repeat" doesn't include some details that are crucial for the bug, or it was fixed in 4.1.4 already
[2 Sep 2004 20:42]
Igor Mendelev
Indeed it seems that 4.1.4 is OK