Bug #78450 | Invalid column name is not detected in select list, but detected as unknown | ||
---|---|---|---|
Submitted: | 16 Sep 2015 9:59 | Modified: | 18 Sep 2015 10:31 |
Reporter: | Su Dylan | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | 5.6.22 | OS: | Any |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
[16 Sep 2015 9:59]
Su Dylan
[18 Sep 2015 10:31]
MySQL Verification Team
Hi, Your expectation is incorrect. When you try to create a column with wrong name you will get incorrect column name error, for e.g. mysql> create table `t1` (`c1 ` int); ERROR 1166 (42000): Incorrect column name 'c1 ' but when you do try to use the `c1 ` in the select the "not found" is appropriate error. all best Bogdan Kecman