strongduanmu opened a new issue #14101:
URL: https://github.com/apache/shardingsphere/issues/14101


   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   
   5.0.0
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   
   ShardingSphere-Proxy
   
   ### Expected behavior
   
   Get correct show tables result.
   
   ### Actual behavior
   
   When I created a table with uppercase TEST and executed `SHOW TABLES 
LIKE'TEST'`, I couldn't get the correct result.
   
   ```sql
   mysql> desc TEST;
   +---------+--------------+------+-----+---------+-------+
   | Field   | Type         | Null | Key | Default | Extra |
   +---------+--------------+------+-----+---------+-------+
   | ID      | int(11)      | YES  |     | NULL    |       |
   | CONTENT | varchar(100) | YES  |     | NULL    |       |
   +---------+--------------+------+-----+---------+-------+
   2 rows in set (0.36 sec)
   
   mysql> desc test;
   ERROR 1146 (42S02): Table 'demo_ds_1.test' doesn't exist
   mysql> SHOW TABLES LIKE 'test';
   +-----------------------+------------+
   | Tables_in_sharding_db | Table_type |
   +-----------------------+------------+
   | test                  | BASE TABLE |
   +-----------------------+------------+
   1 row in set (1.23 sec)
   
   mysql> SHOW TABLES LIKE 'TEST';
   Empty set (0.00 sec)
   ```
   
   ### Reason analyze (If you can)
   
   ### Steps to reproduce the behavior, such as: SQL to execute, sharding rule 
configuration, when exception occur etc.
   
   ### Example codes for reproduce this issue (such as a github link).
   


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to