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 fca7a7c019a Update `error message` for `sql error code document` 
(#23378)
fca7a7c019a is described below

commit fca7a7c019aa2a5dfd4dd934acc691525002ac1d
Author: Zichao <[email protected]>
AuthorDate: Fri Jan 6 22:58:56 2023 +1300

    Update `error message` for `sql error code document` (#23378)
---
 .../content/user-manual/error-code/sql-error-code.cn.md  | 16 ++++++++--------
 .../content/user-manual/error-code/sql-error-code.en.md  | 16 ++++++++--------
 2 files changed, 16 insertions(+), 16 deletions(-)

diff --git a/docs/document/content/user-manual/error-code/sql-error-code.cn.md 
b/docs/document/content/user-manual/error-code/sql-error-code.cn.md
index 2aca666f61c..e3141f4a9b7 100644
--- a/docs/document/content/user-manual/error-code/sql-error-code.cn.md
+++ b/docs/document/content/user-manual/error-code/sql-error-code.cn.md
@@ -14,7 +14,7 @@ SQL 错误码以标准的 SQL State,Vendor Code 和详细错误信息提供,
 
 | SQL State | Vendor Code | 错误信息 |
 | --------- | ----------- | ------ |
-| 42000     | 10000       | Resource does not exist. |
+| 42000     | 10000       | There is no storage unit in database \`%s\`. |
 | 08000     | 10001       | The URL \`%s\` is not recognized, please refer to 
the pattern \`%s\`. |
 | 42000     | 10002       | Can not support 3-tier structure for actual data 
node \`%s\` with JDBC \`%s\`. |
 | HY004     | 10003       | Invalid format for actual data node \`%s\`. |
@@ -99,8 +99,8 @@ SQL 错误码以标准的 SQL State,Vendor Code 和详细错误信息提供,
 | --------- | ----------- | ------ |
 | 44000     | 18002       | Altered process configuration does not exist. |
 | HY000     | 18020       | Failed to get DDL for table \`%s\`. |
-| 42S01     | 18030       | Duplicate resource names \`%s\`. |
-| 42S02     | 18031       | Resource names \`%s\` do not exist. |
+| 42S01     | 18030       | Duplicate storage unit names \`%s\`. |
+| 42S02     | 18031       | Storage units names \`%s\` do not exist. |
 | 0A000     | 18032       | Unsupported data type \`%s\` of unique key for 
pipeline job. |
 | HY000     | 18050       | Before data record is \`%s\`, after data record is 
\`%s\`. |
 | 08000     | 18051       | Data check table \`%s\` failed. |
@@ -127,11 +127,11 @@ SQL 错误码以标准的 SQL State,Vendor Code 和详细错误信息提供,
 
 | SQL State | Vendor Code | 错误信息 |
 | --------- | ----------- | ------ |
-| 44000     | 19000       | Can not process invalid resources, error message 
is: %s |
-| 44000     | 19001       | Resources \`%s\` do not exist in database \`%s\`. |
-| 44000     | 19002       | There is no resource in the database \`%s\`. |
-| 44000     | 19003       | Resource \`%s\` is still used by \`%s\`. |
-| 44000     | 19004       | Duplicate resource names \`%s\`. |
+| 44000     | 19000       | Can not process invalid storage units, error 
message is: %s |
+| 44000     | 19001       | Storage units \`%s\` do not exist in database 
\`%s\`. |
+| 44000     | 19002       | There is no storage unit in the database \`%s\`. |
+| 44000     | 19003       | Storage units \`%s\` is still used by \`%s\`. |
+| 44000     | 19004       | Duplicate storage unit names \`%s\`. |
 | 44000     | 19100       | Invalid \`%s\` rule \`%s\`, error message is: %s |
 | 44000     | 19101       | %s rules \`%s\` do not exist in database \`%s\`. |
 | 44000     | 19102       | %s rules \`%s\` in database \`%s\` are still in 
used. |
diff --git a/docs/document/content/user-manual/error-code/sql-error-code.en.md 
b/docs/document/content/user-manual/error-code/sql-error-code.en.md
index 159564ae539..b0fa9eb7a37 100644
--- a/docs/document/content/user-manual/error-code/sql-error-code.en.md
+++ b/docs/document/content/user-manual/error-code/sql-error-code.en.md
@@ -14,7 +14,7 @@ SQL error codes provide by standard `SQL State`, `Vendor 
Code` and `Reason`, whi
 
 | SQL State | Vendor Code | Reason |
 | --------- | ----------- | ------ |
-| 42000     | 10000       | Resource does not exist. |
+| 42000     | 10000       | There is no storage unit in database \`%s\`. |
 | 08000     | 10001       | The URL \`%s\` is not recognized, please refer to 
the pattern \`%s\`. |
 | 42000     | 10002       | Can not support 3-tier structure for actual data 
node \`%s\` with JDBC \`%s\`. |
 | HY004     | 10003       | Invalid format for actual data node \`%s\`. |
@@ -99,8 +99,8 @@ SQL error codes provide by standard `SQL State`, `Vendor 
Code` and `Reason`, whi
 | --------- | ----------- | ------ |
 | 44000     | 18002       | Altered process configuration does not exist. |
 | HY000     | 18020       | Failed to get DDL for table \`%s\`. |
-| 42S01     | 18030       | Duplicate resource names \`%s\`. |
-| 42S02     | 18031       | Resource names \`%s\` do not exist. |
+| 42S01     | 18030       | Duplicate storage unit names \`%s\`. |
+| 42S02     | 18031       | Storage units names \`%s\` do not exist. |
 | 0A000     | 18032       | Unsupported data type \`%s\` of unique key for 
pipeline job. |
 | HY000     | 18050       | Before data record is \`%s\`, after data record is 
\`%s\`. |
 | 08000     | 18051       | Data check table \`%s\` failed. |
@@ -127,11 +127,11 @@ SQL error codes provide by standard `SQL State`, `Vendor 
Code` and `Reason`, whi
 
 | SQL State | Vendor Code | Reason |
 | --------- | ----------- | ------ |
-| 44000     | 19000       | Can not process invalid resources, error message 
is: %s |
-| 44000     | 19001       | Resources \`%s\` do not exist in database \`%s\`. |
-| 44000     | 19002       | There is no resource in the database \`%s\`. |
-| 44000     | 19003       | Resource \`%s\` is still used by \`%s\`. |
-| 44000     | 19004       | Duplicate resource names \`%s\`. |
+| 44000     | 19000       | Can not process invalid storage units, error 
message is: %s |
+| 44000     | 19001       | Storage units \`%s\` do not exist in database 
\`%s\`. |
+| 44000     | 19002       | There is no storage unit in the database \`%s\`. |
+| 44000     | 19003       | Storage units \`%s\` is still used by \`%s\`. |
+| 44000     | 19004       | Duplicate storage unit names \`%s\`. |
 | 44000     | 19100       | Invalid \`%s\` rule \`%s\`, error message is: %s |
 | 44000     | 19101       | %s rules \`%s\` do not exist in database \`%s\`. |
 | 44000     | 19102       | %s rules \`%s\` in database \`%s\` are still in 
used. |

Reply via email to