Skip to content
New issue

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

User variable name does not support inclusion . and $ characters #390

Open
sevenFH opened this issue Dec 12, 2017 · 0 comments
Open

User variable name does not support inclusion . and $ characters #390

sevenFH opened this issue Dec 12, 2017 · 0 comments

Comments

@sevenFH
Copy link

sevenFH commented Dec 12, 2017

steps:
dble:

mysql> set @abc=3;
Query OK, 0 rows affected (0.00 sec)

mysql> set @$=5;
ERROR 1064 (HY000): java.sql.SQLSyntaxErrorException: syntax error, expect EQ, actual IDENTIFIER $
mysql> set @.=6;
ERROR 1064 (HY000): java.sql.SQLSyntaxErrorException: error : @
mysql> set @_=7;
Query OK, 0 rows affected (0.00 sec)

mysql> 

mysql:

mysql> set @.=6;
Query OK, 0 rows affected (0.00 sec)

mysql> set @$=5;
Query OK, 0 rows affected (0.00 sec)

mysql> 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants