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 e279df2e61f Update docs for storage unit RDL (#33204)
e279df2e61f is described below

commit e279df2e61f8e7b2101de26b73ac1f847e04e4d2
Author: Raigor <[email protected]>
AuthorDate: Thu Oct 10 17:41:11 2024 +0800

    Update docs for storage unit RDL (#33204)
---
 .../rdl/storage-unit-definition/alter-storage-unit.cn.md      | 11 +++++------
 .../rdl/storage-unit-definition/alter-storage-unit.en.md      | 11 +++++------
 .../rdl/storage-unit-definition/register-storage-unit.cn.md   |  7 +++----
 .../rdl/storage-unit-definition/register-storage-unit.en.md   |  7 +++----
 4 files changed, 16 insertions(+), 20 deletions(-)

diff --git 
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/storage-unit-definition/alter-storage-unit.cn.md
 
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/storage-unit-definition/alter-storage-unit.cn.md
index 68a1ddcc01d..55ccc1df3cb 100644
--- 
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/storage-unit-definition/alter-storage-unit.cn.md
+++ 
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/storage-unit-definition/alter-storage-unit.cn.md
@@ -106,7 +106,7 @@ ALTER STORAGE UNIT ds_2 (
     
URL="jdbc:mysql://127.0.0.1:3306/db_2?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true",
     USER="root",
     PASSWORD="root",
-    PROPERTIES("maximumPoolSize"=10,"idleTimeout"="30000")
+    PROPERTIES("maximumPoolSize"=10,"idleTimeout"=30000)
 );
 ```
 
@@ -115,11 +115,10 @@ ALTER STORAGE UNIT ds_2 (
 ```sql
 ALTER STORAGE UNIT ds_2 (
     
URL="jdbc:mysql://127.0.0.1:3306/db_2?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true",
-    USER=root,
-    PASSWORD=root,
-    PROPERTIES("maximumPoolSize"=10,"idleTimeout"="30000"),
-    CHECK_PRIVILEGES=SELECT,XA,PIPELINE
-);
+    USER="root",
+    PASSWORD="root",
+    PROPERTIES("maximumPoolSize"=10,"idleTimeout"=30000)
+), CHECK_PRIVILEGES=SELECT,XA,PIPELINE;
 ```
 
 ### 保留字
diff --git 
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/storage-unit-definition/alter-storage-unit.en.md
 
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/storage-unit-definition/alter-storage-unit.en.md
index e05cc4aefeb..032db83f9c0 100644
--- 
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/storage-unit-definition/alter-storage-unit.en.md
+++ 
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/storage-unit-definition/alter-storage-unit.en.md
@@ -106,7 +106,7 @@ ALTER STORAGE UNIT ds_2 (
     
URL="jdbc:mysql://127.0.0.1:3306/db_2?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true",
     USER="root",
     PASSWORD="root",
-    PROPERTIES("maximumPoolSize"=10,"idleTimeout"="30000")
+    PROPERTIES("maximumPoolSize"=10,"idleTimeout"=30000)
 );
 ```
 
@@ -115,11 +115,10 @@ ALTER STORAGE UNIT ds_2 (
 ```sql
 ALTER STORAGE UNIT ds_2 (
     
URL="jdbc:mysql://127.0.0.1:3306/db_2?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true",
-    USER=root,
-    PASSWORD=root,
-    PROPERTIES("maximumPoolSize"=10,"idleTimeout"="30000"),
-    CHECK_PRIVILEGES=SELECT,XA,PIPELINE
-);
+    USER="root",
+    PASSWORD="root",
+    PROPERTIES("maximumPoolSize"=10,"idleTimeout"=30000)
+), CHECK_PRIVILEGES=SELECT,XA,PIPELINE;
 ```
 
 ### Reserved word
diff --git 
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/storage-unit-definition/register-storage-unit.cn.md
 
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/storage-unit-definition/register-storage-unit.cn.md
index 9b66100eac6..127b41ed7f7 100644
--- 
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/storage-unit-definition/register-storage-unit.cn.md
+++ 
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/storage-unit-definition/register-storage-unit.cn.md
@@ -110,7 +110,7 @@ REGISTER STORAGE UNIT ds_2 (
     
URL="jdbc:mysql://127.0.0.1:3306/db_2?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true",
     USER="root",
     PASSWORD="root",
-    PROPERTIES("maximumPoolSize"=10,"idleTimeout"="30000")
+    PROPERTIES("maximumPoolSize"=10,"idleTimeout"=30000)
 );
 ```
 
@@ -133,9 +133,8 @@ REGISTER STORAGE UNIT ds_3 (
     
URL="jdbc:mysql://127.0.0.1:3306/db_3?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true",
     USER="root",
     PASSWORD="root",
-    PROPERTIES("maximumPoolSize"=10,"idleTimeout"="30000"),
-    CHECK_PRIVILEGES=SELECT,XA,PIPELINE
-);
+    PROPERTIES("maximumPoolSize"=10,"idleTimeout"=30000)
+), CHECK_PRIVILEGES=SELECT,XA,PIPELINE;
 ```
 
 ### 保留字
diff --git 
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/storage-unit-definition/register-storage-unit.en.md
 
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/storage-unit-definition/register-storage-unit.en.md
index 44992f1e4cd..6797ec79e95 100644
--- 
a/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/storage-unit-definition/register-storage-unit.en.md
+++ 
b/docs/document/content/user-manual/shardingsphere-proxy/distsql/syntax/rdl/storage-unit-definition/register-storage-unit.en.md
@@ -111,7 +111,7 @@ REGISTER STORAGE UNIT ds_2 (
     
URL="jdbc:mysql://127.0.0.1:3306/db_2?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true",
     USER="root",
     PASSWORD="root",
-    PROPERTIES("maximumPoolSize"=10,"idleTimeout"="30000")
+    PROPERTIES("maximumPoolSize"=10,"idleTimeout"=30000)
 );
 ```
 
@@ -134,9 +134,8 @@ REGISTER STORAGE UNIT ds_3 (
     
URL="jdbc:mysql://127.0.0.1:3306/db_3?serverTimezone=UTC&useSSL=false&allowPublicKeyRetrieval=true",
     USER="root",
     PASSWORD="root",
-    PROPERTIES("maximumPoolSize"=10,"idleTimeout"="30000"),
-    CHECK_PRIVILEGES=SELECT,XA,PIPELINE
-);
+    PROPERTIES("maximumPoolSize"=10,"idleTimeout"=30000)
+), CHECK_PRIVILEGES=SELECT,XA,PIPELINE;
 ```
 
 ### Reserved word

Reply via email to