This is an automated email from the ASF dual-hosted git repository.
jianglongtao 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 9839517b34d Remove useless enum in ShardingSphereVendorError (#20175)
9839517b34d is described below
commit 9839517b34dee44f588f8dc3f93bbc552ef2f79a
Author: Liang Zhang <[email protected]>
AuthorDate: Mon Aug 15 00:31:19 2022 +0800
Remove useless enum in ShardingSphereVendorError (#20175)
---
.../infra/util/exception/sql/vendor/ShardingSphereVendorError.java | 6 ------
1 file changed, 6 deletions(-)
diff --git
a/shardingsphere-infra/shardingsphere-infra-util/src/main/java/org/apache/shardingsphere/infra/util/exception/sql/vendor/ShardingSphereVendorError.java
b/shardingsphere-infra/shardingsphere-infra-util/src/main/java/org/apache/shardingsphere/infra/util/exception/sql/vendor/ShardingSphereVendorError.java
index 36aaf4192fa..5a34068da7e 100644
---
a/shardingsphere-infra/shardingsphere-infra-util/src/main/java/org/apache/shardingsphere/infra/util/exception/sql/vendor/ShardingSphereVendorError.java
+++
b/shardingsphere-infra/shardingsphere-infra-util/src/main/java/org/apache/shardingsphere/infra/util/exception/sql/vendor/ShardingSphereVendorError.java
@@ -31,12 +31,6 @@ public enum ShardingSphereVendorError implements VendorError
{
SCALING_JOB_NOT_EXIST(XOpenSQLState.GENERAL_ERROR, 1201, "Scaling job `%s`
does not exist"),
- DATABASE_WRITE_LOCKED(XOpenSQLState.GENERAL_ERROR, 1300, "The database
`%s` is read-only"),
-
- TABLE_LOCK_WAIT_TIMEOUT(XOpenSQLState.GENERAL_ERROR, 1301, "The table `%s`
of schema `%s` lock wait timeout of %s ms exceeded"),
-
- TABLE_LOCKED(XOpenSQLState.GENERAL_ERROR, 1302, "The table `%s` of schema
`%s` is locked"),
-
UNKNOWN_EXCEPTION(XOpenSQLState.SYNTAX_ERROR, 1999, "Unknown exception:
%s"),
UNSUPPORTED_SQL(XOpenSQLState.SYNTAX_ERROR, 1235, "Unsupported SQL: %s");