Skip to content

Commit

Permalink
Update docs for storage unit RDL (#33204)
Browse files Browse the repository at this point in the history
  • Loading branch information
RaigorJiang authored Oct 10, 2024
1 parent dc95b06 commit e279df2
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);
```

Expand All @@ -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;
```

### 保留字
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);
```

Expand All @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);
```

Expand All @@ -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;
```

### 保留字
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
);
```

Expand All @@ -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
Expand Down

0 comments on commit e279df2

Please sign in to comment.