You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2022/06/29 10:09:26 UTC

[GitHub] [shardingsphere] TeslaCN opened a new issue, #18700: Scope of SET statement is not recognized when variable prefixed with `@@` in MySQL Parser

TeslaCN opened a new issue, #18700:
URL: https://github.com/apache/shardingsphere/issues/18700

   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   
   master - 280415ac7c89e5bc4f9829ef1b96a31e917910c6
   
   ### Expected behavior
   
   ```sql
   SET @@GLOBAL.sort_buffer_size = 1000000, @@SESSION.sort_buffer_size = 1000000, @@LOCAL.sort_buffer_size = 1000000;
   ```
   
   `@@GLOBAL`, `@@SESSION`, `@@LOCAL` could be parsed into the scope of variable.
   
   ### Actual behavior
   
   ![image](https://user-images.githubusercontent.com/20503072/176410421-756a6e33-8eec-4ed1-be02-a6e4c354971b.png)
   
   


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] terrymanu closed issue #18700: Scope of SET statement is not recognized when variable prefixed with `@@` in MySQL Parser

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #18700: Scope of SET statement is not recognized when variable prefixed with `@@` in MySQL Parser
URL: https://github.com/apache/shardingsphere/issues/18700


-- 
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.

To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org