HuLaLaGa commented on issue #32765: URL: https://github.com/apache/shardingsphere/issues/32765#issuecomment-2373105685
> * We can certainly put aside MySQL permissions to narrow the scope of discussion. I deliberately executed the problematic insert SQL `INSERT INTO t_order_item_does_not_exist (test_id_does_not_exist) VALUES (2024)` in [linghengqian/shardingsphere-test@aa2365a](https://github.com/linghengqian/shardingsphere-test/commit/aa2365a38f9eba2250f1f1a4a839777c1dddb4a0). The `t_order_item_does_not_exist` table does not exist at all. > * The unit tests still work fine. > > ```shell > [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 13.55 s -- in com.hulalaga.ShardingSphereTest > [INFO] > [INFO] Results: > [INFO] > [INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0 > [INFO] > [INFO] ------------------------------------------------------------------------ > [INFO] BUILD SUCCESS > [INFO] ------------------------------------------------------------------------ > [INFO] Total time: 16.236 s (Wall Clock) > [INFO] Finished at: 2024-09-25T12:25:36+08:00 > [INFO] ------------------------------------------------------------------------ > ``` TableNotExist Exception is not regarded as fatal error by Druid,instead of AccessDenied Exception is regarded as fatal error。And only fatal error can trigger 'connection disabled' Exception。 -- 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]
