Bug #193 | Create table "table options" problems causes drop table problems | ||
---|---|---|---|
Submitted: | 26 Mar 2003 11:18 | Modified: | 19 Apr 2003 11:01 |
Reporter: | Germain Rioux | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 4.0.12 | OS: | Linux (linux) |
Assigned to: | CPU Architecture: | Any |
[26 Mar 2003 11:18]
Germain Rioux
[26 Mar 2003 12:50]
Alexander Keremidarski
This feature is broken. In addition to original bug report I can add the following: Table created with DATA DIRECTORY and INDEX DIRECTORY options: 1) Can't be changed with ALTER TABLE Every ALTER TABLE succeeds with normal output - no errors, but table remains intact in the state it was before ALTER 2) CREATE ... DROP ... CREATE does not 'crash'. It fails with (Errcode: 17) # perror 17 Error code 17: File exists It happens because DROP removes .frm and Symlinks only, but does not dereference links to remove original .MYI and .MYD symlinks point to.
[19 Apr 2003 11:01]
MySQL Verification Team
Bug was that symbolic links support was not enabled by default in 4.0.12, which caused DROP TABLE to not correctly remove the table files. Monty already has fixed this in the 4.0 tree and will push this shortly. The other issues that was reported is documented in the MySQL manual and will not be fixed in the near future (not prioritized functionality).
[24 Apr 2003 9:16]
Germain Rioux
In my humble opinion, the DATA DIRECTORY and INDEX DIRECTORY not being displayed in either SHOW CREATE TABLE or mysqldump is a major flaw. It basically means that mysqldump can not be reliably used to re-generate a table to it's original state (after a backup) Germain Rioux