Bug #28127 | Some valid identifiers names are not parsed correctly | ||
---|---|---|---|
Submitted: | 26 Apr 2007 22:46 | Modified: | 4 Jul 2007 1:36 |
Reporter: | Marc ALFF | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.0.30, 5.1 | OS: | Any |
Assigned to: | Marc ALFF | CPU Architecture: | Any |
[26 Apr 2007 22:46]
Marc ALFF
[27 Apr 2007 7:50]
Sveta Smirnova
Thank you for the report. Verified as described.
[27 Apr 2007 7:52]
Sveta Smirnova
But: mysql> SELECT HEX(15); +---------+ | HEX(15) | +---------+ | F | +---------+ 1 row in set (0.00 sec) So seems failure of "create table t1 ( 0xF int);" is OK. Version 4.1 is not affected: $mysql41 Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 352 to server version: 4.1.23-debug Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> use test Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Database changed mysql> create table t1 ( 0xF int); ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '0xF int)' at line 1 mysql> create table t1 ( 0b02 int); Query OK, 0 rows affected (0.07 sec) mysql> drop table t1; Query OK, 0 rows affected (0.00 sec) mysql> create table t1 ( 0b2 int); Query OK, 0 rows affected (0.07 sec)
[28 Jun 2007 22:44]
Marc ALFF
Pushed into 5.1.20-beta with Bug#24511
[4 Jul 2007 1:36]
Paul DuBois
Noted in 5.1.20 changelog. Some valid identifiers were not parsed correctly.