ColinLeeo commented on code in PR #13158:
URL: https://github.com/apache/iotdb/pull/13158#discussion_r1924877610


##########
iotdb-core/datanode/src/main/java/org/apache/iotdb/db/queryengine/execution/operator/source/relational/InformationSchemaContentSupplierFactory.java:
##########
@@ -341,8 +341,11 @@ public boolean hasNext() {
   private static boolean canShowDB(final String userName, final String dbName) 
{
     try {
       
Coordinator.getInstance().getAccessControl().checkCanShowOrUseDatabase(userName,
 dbName);
-    } catch (final AccessControlException e) {
-      return false;
+    } catch (final RuntimeException e) {

Review Comment:
   Will revert changes on my pr.



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