We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Currently it's possible to create a table with a name starting with @
@
mysql> create table @f(f text); Query OK, 0 rows affected (0.01 sec)
Let's disallow this, reserving the at sign for other purposes.
By the way, using @ anywhere but at the beginning of the table name already results in an error:
mysql> create table a@bc(a int); -------------- create table a@bc(a int) -------------- ERROR 1064 (42000): P03: syntax error, unexpected '(', expecting '=' near '(a int)'
The text was updated successfully, but these errors were encountered:
➤ Sergey Nikolaev commented:
@smth can also break the integration with mysqldump:
@smth
➜ ~ mysqldump -P9306 -h0 Manticore > /tmp/dump.sql mysqldump: Couldn't execute 'show fields from `@a`': P01: syntax error, unexpected identifier, expecting VARIABLES near 'fields from `@a`' (1064)
Sorry, something went wrong.
Done in abf192a
No branches or pull requests
Currently it's possible to create a table with a name starting with
@
Let's disallow this, reserving the at sign for other purposes.
By the way, using @ anywhere but at the beginning of the table name already results in an error:
The text was updated successfully, but these errors were encountered: