You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2024/04/10 14:16:11 UTC

(shardingsphere) branch master updated: Adjust ClusterSQLException's error code (#30837)

This is an automated email from the ASF dual-hosted git repository.

zhaojinchao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 72786d0d319 Adjust ClusterSQLException's error code (#30837)
72786d0d319 is described below

commit 72786d0d319bee1b0da554e0023d69dbc3116ffc
Author: Liang Zhang <zh...@apache.org>
AuthorDate: Wed Apr 10 22:16:06 2024 +0800

    Adjust ClusterSQLException's error code (#30837)
---
 .../core/external/sql/type/kernel/category/ClusterSQLException.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/infra/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/core/external/sql/type/kernel/category/ClusterSQLException.java b/infra/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/core/external/sql/type/kernel/category/ClusterSQLException.java
index 83e82009061..07da6d1a8ba 100644
--- a/infra/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/core/external/sql/type/kernel/category/ClusterSQLException.java
+++ b/infra/exception/core/src/main/java/org/apache/shardingsphere/infra/exception/core/external/sql/type/kernel/category/ClusterSQLException.java
@@ -27,7 +27,7 @@ public abstract class ClusterSQLException extends KernelSQLException {
     
     private static final long serialVersionUID = -2839102961922546497L;
     
-    private static final int KERNEL_CODE = 5;
+    private static final int KERNEL_CODE = 7;
     
     protected ClusterSQLException(final SQLState sqlState, final int errorCode, final String reason, final Object... messageArgs) {
         super(sqlState, KERNEL_CODE, errorCode, reason, messageArgs);