Bug #75271 | sql parser chokes on extra spaces between (at least some) words | ||
---|---|---|---|
Submitted: | 19 Dec 2014 4:25 | Modified: | 19 Dec 2014 21:36 |
Reporter: | Don Cohen | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 5.5.35-log | OS: | Linux |
Assigned to: | CPU Architecture: | Any |
[19 Dec 2014 4:25]
Don Cohen
[19 Dec 2014 15:30]
MySQL Verification Team
Please provide the complete test case sql script (create table, insert data and so on). Thanks.
[19 Dec 2014 17:04]
Don Cohen
How's this: MySQL [capuchin]> select 123, datediff('2001-01-01','2001-01-01'); ERROR 1305 (42000): FUNCTION capuchin. datediff does not exist
[19 Dec 2014 18:43]
Sveta Smirnova
Thank you for the report. I cannot repeat described behavior: mysql> select 123, datediff('2001-01-01','2001-01-01'); +-----+-------------------------------------+ | 123 | datediff('2001-01-01','2001-01-01') | +-----+-------------------------------------+ | 123 | 0 | +-----+-------------------------------------+ 1 row in set (0.00 sec) Most likely you have hidden character which is not white-space and which caused syntax error. Try to re-type whole statement.
[19 Dec 2014 21:36]
Don Cohen
yes, that was it - A0 instead of space Thank you