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/07/28 07:43:12 UTC

[GitHub] [shardingsphere] strongduanmu opened a new issue, #19639: SHOW TABLES get wrong result when I drop sharding table rule

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

   ## Bug Report
   
   ### Which version of ShardingSphere did you use?
   
   https://github.com/apache/shardingsphere/commit/7ee0d0baa3143ae35807733e9359567e2cacbd93
   
   ### Which project did you use? ShardingSphere-JDBC or ShardingSphere-Proxy?
   
   ShardingSphere-Proxy
   
   ### Expected behavior
   
   SHOW TABLES return actual tables when I drop sharding table rule
   
   ### Actual behavior
   
   ```
   mysql> show tables;
   +---------------------+------------+
   | Tables_in_RTS_STOCK | Table_type |
   +---------------------+------------+
   | ASW_REALTIME_STOCK  | BASE TABLE |
   | ASW_CACHE_CONFIG    | BASE TABLE |
   | ASW_ALERT_CONFIG    | BASE TABLE |
   | ASW_PEOPLE_COUNTER  | BASE TABLE |
   | ASW_DEPS            | BASE TABLE |
   +---------------------+------------+
   5 rows in set (0.00 sec)
   
   mysql> DROP SHARDING TABLE RULE ASW_REALTIME_STOCK;
   Query OK, 0 rows affected (2.35 sec)
   
   mysql> show tables;
   +---------------------+------------+
   | Tables_in_RTS_STOCK | Table_type |
   +---------------------+------------+
   | ASW_REALTIME_STOCK  | BASE TABLE |
   | ASW_CACHE_CONFIG    | BASE TABLE |
   | ASW_ALERT_CONFIG    | BASE TABLE |
   | ASW_PEOPLE_COUNTER  | BASE TABLE |
   | ASW_DEPS            | BASE TABLE |
   +---------------------+------------+
   5 rows in set (0.02 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: notifications-unsubscribe@shardingsphere.apache.org.apache.org

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


[GitHub] [shardingsphere] zjcnb closed issue #19639: SHOW TABLES get wrong result when I drop sharding table rule

Posted by GitBox <gi...@apache.org>.
zjcnb closed issue #19639: SHOW TABLES get wrong result when I drop sharding table rule
URL: https://github.com/apache/shardingsphere/issues/19639


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