Bug #10408 | if dot is used in column name then the text before dot is truncated from name. | ||
---|---|---|---|
Submitted: | 6 May 2005 10:34 | Modified: | 12 Jul 2005 16:44 |
Reporter: | Disha | Email Updates: | |
Status: | Duplicate | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 4.1.11, 5.0.4 Beta | OS: | Windows (Windows 2003) |
Assigned to: | Assigned Account | CPU Architecture: | Any |
[6 May 2005 10:34]
Disha
[6 May 2005 11:40]
Hartmut Holzgraefe
Verified on 4.1. Putting the column name in backticks works as expected though
[6 May 2005 12:39]
Trudy Pelzer
This is not a bug; the period is the delimiter character used to separate parts of a qualified name and can therefore not be used within a non-delimited identifier. Per the Reference Manual: http://dev.mysql.com/doc/mysql/en/legal-names.html If an identifier is a reserved word or contains special characters, you must quote it whenever you refer to it. ... Special characters are those outside the set of alphanumeric characters from the current character set, '_', and '$'.
[12 Jul 2005 11:45]
Disha
If the dot should not be used in the above condition, then appropriate error should be displayed instead or ignoring part of the name specified. OR If the truncation is acceptable, it should atleast show a warning.
[12 Jul 2005 16:44]
Trudy Pelzer
Duplicate; already corrected.