Bug #39824 | Inaccurate error message when attempting to create new merge with improper union | ||
---|---|---|---|
Submitted: | 2 Oct 2008 19:47 | Modified: | 13 Apr 2009 21:53 |
Reporter: | Kevin Benton (Candidate Quality Contributor) | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server: Merge storage engine | Severity: | S3 (Non-critical) |
Version: | 4.1.20 | OS: | Linux |
Assigned to: | CPU Architecture: | Any | |
Tags: | qc |
[2 Oct 2008 19:47]
Kevin Benton
[2 Oct 2008 20:16]
Sveta Smirnova
Thank you for the report. But version 4.1.20 is old. Please try with current version 4.1.23 and provide repeatable test case if bug still exists. I get correct error "failed: 1168: Unable to open underlying table which is differently defined or of non-MyISAM type or doesn't exist" with current 4.1 and 5.0 development sources and the statement does not fail with 5.1 and 6.0
[3 Nov 2008 0:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".
[4 Nov 2008 17:36]
Kevin Benton
When a MyISAM union (merge) has an invalid / missing table in it, MySQL prevents authorized users from altering the union to "get rid of" the offending table. There is a workaround - drop the merge then recreate it. The problem is - the error message misleads the reader into thinking something else is wrong. ERROR 1017 (HY000): Can't find file: '#sql-dde_316128.MRG' (errno: 2) This simply just doesn't explain the real problem. It would be much better if the error message said something like this (at am inimum) ERROR ... (...): Invalid merges can't be changed. Use DROP TABLE instead. Offending tables: ... (errno: ...)
[19 Nov 2008 16:00]
Kevin Benton
Any update on this?
[17 Dec 2008 20:47]
Kevin Benton
Again, I ask - any update on this?
[17 Dec 2008 20:56]
Sveta Smirnova
Kevin, thank you for the feedback. Unfortunately version 4.1 is in Extended Support stage and I get correct error with latest sources of 4.1 and later versions, so this bug has low priority, especially if we need to test earlier releases of 4.1.
[13 Apr 2009 21:53]
Sveta Smirnova
Thank you for the report. I could not repeat error message from the initial reply. According to your comment about latest error message is not clear enough there is feature request: bug #24773 about very same problem. So I close this report as "Can't repeat". But if you are able to repeat original problem with one of latest versions feel free to reopen it.