You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "strongduanmu (via GitHub)" <gi...@apache.org> on 2023/06/06 06:05:31 UTC
[GitHub] [shardingsphere] strongduanmu commented on issue #26062: NoSuchTableException should be thrown when we execute dml statement for not exist table
strongduanmu commented on issue #26062:
URL: https://github.com/apache/shardingsphere/issues/26062#issuecomment-1577969767
Totally, the test result is as following:
```
mysql> show tables;
+-----------------------+
| Tables_in_sharding_db |
+-----------------------+
| t_order |
| t_user |
| t_encrypt |
+-----------------------+
3 rows in set (0.01 sec)
mysql> select * from t_single;
ERROR 1146 (42S02): Table 't_single' doesn't exist
mysql> insert into t_single(id) values(1);
ERROR 1146 (42S02): Table 't_single' doesn't exist
mysql> update t_single set id = 1 where id = 2;
ERROR 1146 (42S02): Table 't_single' doesn't exist
mysql> delete from t_single where id = 1;
ERROR 1146 (42S02): Table 't_single' doesn't exist
mysql>
```
--
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