Bug #72552 | Can't create databse with "\" as last character in the identifier. | ||
---|---|---|---|
Submitted: | 6 May 2014 14:29 | Modified: | 7 May 2014 11:14 |
Reporter: | Peter Laursen (Basic Quality Contributor) | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: Command-line Clients | Severity: | S3 (Non-critical) |
Version: | 5.6.17 | OS: | Any |
Assigned to: | CPU Architecture: | Any |
[6 May 2014 14:29]
Peter Laursen
[6 May 2014 16:23]
MySQL Verification Team
Hm, it does work, but the client doesn't seem to be very happy about it: mysql> create database `testme\testme\` ; `> ` -> ; Query OK, 1 row affected (0.00 sec) ERROR 1064 (42000): You have an error in your SQL syntax; mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | mysql | | performance_schema | | test | | testme\testme\ | +--------------------+ 5 rows in set (0.00 sec)
[6 May 2014 16:26]
MySQL Verification Team
using --binary-mode --named-commands=0 had no impact.
[6 May 2014 18:55]
Peter Laursen
Please compare the command line output on Shane's environment and mine .. It is *NOT* the same. And I simply copy/pasted from cmd.exe. Differences: 1) For me the command prompt includes a backtick after the failed statement 2) I cannot 'release the client' by typng the ";" delimiter on a new line. It helps nothing on my environment. The same garbage command prompt appears after that. My environment is Win7/64bit.
[7 May 2014 11:14]
Peter Laursen
I meant (of course): For some reason the *backslash* character cannot ..