From e279df2e61f8e7b2101de26b73ac1f847e04e4d2 Mon Sep 17 00:00:00 2001 From: Raigor Date: Thu, 10 Oct 2024 17:41:11 +0800 Subject: [PATCH] Update docs for storage unit RDL (#33204) --- .../storage-unit-definition/alter-storage-unit.cn.md | 11 +++++------ .../storage-unit-definition/alter-storage-unit.en.md | 11 +++++------ .../register-storage-unit.cn.md | 7 +++---- .../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 68a1ddcc01dad..55ccc1df3cbd6 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 e05cc4aefebf4..032db83f9c0c1 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 9b66100eac69d..127b41ed7f729 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 44992f1e4cd2c..6797ec79e957f 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