Skip to content

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

Open
@sevenFH

Description

@sevenFH

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> 

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions