Bug #4717 | ALTER TABLE ... RENAME permits \ in new name but not old name. | ||
---|---|---|---|
Submitted: | 23 Jul 2004 8:30 | Modified: | 26 Jul 2004 10:42 |
Reporter: | Nick Gaugler | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.0.20 | OS: | Linux (Linux) |
Assigned to: | Sergei Golubchik | CPU Architecture: | Any |
[23 Jul 2004 8:30]
Nick Gaugler
[26 Jul 2004 0:43]
MySQL Verification Team
According as stated in the Manual: 10.2 Database, Table, Index, Column, and Alias Names http://dev.mysql.com/doc/mysql/en/Legal_names.html Identifier Maximum Length (bytes) Allowed Characters Table 64 Any character that is allowed in a filename, except `/', `\', or `.' then you can expect unexpected behavior.
[26 Jul 2004 10:20]
Sergei Golubchik
Indeed, ALTER TABLE ... RENAME does not check whether the destination name is well-formed (but RENAME TABLE ... does)
[26 Jul 2004 10:42]
Sergei Golubchik
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release. If necessary, you can access the source repository and build the latest available version, including the bugfix, yourself. More information about accessing the source trees is available at http://www.mysql.com/doc/en/Installing_source_tree.html Additional info: fixed in 4.0.21