apache / shardingsphere

Distributed SQL transaction & query engine for data sharding, scaling, encryption, and more - on any database.
Apache License 2.0
19.76k stars 6.69k forks source link

Is it possible that shardingsphere can automatically use a different keyword configuration based on the MySQL version? #32275

Closed MoonLord-LM closed 4 weeks ago

MoonLord-LM commented 1 month ago

For example, I'm using MySQL 5.7, and "system" is not a keyword, but it's validated like MYSQL 8.0 keywords? Similar:https://github.com/apache/shardingsphere/issues/25763

Refer to the official documentation of MySQL. The keywords may be different for each minor version. https://dev.mysql.com/doc/refman/8.0/en/keywords.html#keywords-removed-in-current-series image

Why does it do keyword validation? Maybe we do not need it?

terrymanu commented 1 month ago

You may use escape characters to process keyword

github-actions[bot] commented 4 weeks ago

There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.