Open strongduanmu opened 8 months ago
In addition to MySQL, we also need to pay attention to whether PG and OG are processed correctly.
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale.
Bug Report
Which version of ShardingSphere did you use?
c6286ee
Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
ShardingSphere-Proxy
Expected behavior
Return empty result when execute select system tables query in Proxy without any storage units
Actual behavior
Reason analyze (If you can)
QueryResultMetaData return empty columns metadata, this causes a MySQL protocol error.
Steps to reproduce the behavior, such as: SQL to execute, sharding rule configuration, when exception occur etc.
SHOW DATABASE
,SHOW TABLES
,SELECT * FROM mysql.columns_priv
sqls, you will get the exception.Example codes for reproduce this issue (such as a github link).