terrymanu commented on a change in pull request #4477: Parse mysql variable 
value for SET statement
URL: 
https://github.com/apache/incubator-shardingsphere/pull/4477#discussion_r386194460
 
 

 ##########
 File path: 
shardingsphere-sql-parser/shardingsphere-sql-parser-mysql/src/main/antlr4/imports/mysql/DALStatement.g4
 ##########
 @@ -84,9 +84,17 @@ showProfileType
     ;
 
 setVariable
-    : SET variable?
+    : SET variableExpr (COMMA_ variableExpr)*
     ;
 
+variableExpr
+    : variable EQ_ variableValue
 
 Review comment:
   Please consider about the relationship of rule name of `variable` and 
`variableValue`

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to