Skip to content

Commit

Permalink
sql: fix the synopsis of REVOKE <privileges> (#19270) (#19275)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Dec 12, 2024
1 parent f65bbdc commit 1d58750
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions sql-statements/sql-statement-revoke-privileges.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ summary: TiDB 数据库中 REVOKE <privileges> 的使用概况。
## 语法图

```ebnf+diagram
GrantStmt ::=
'GRANT' PrivElemList 'ON' ObjectType PrivLevel 'TO' UserSpecList RequireClauseOpt WithGrantOptionOpt
RevokeStmt ::=
'REVOKE' PrivElemList 'ON' ObjectType PrivLevel 'FROM' UserSpecList
PrivElemList ::=
PrivElem ( ',' PrivElem )*
Expand Down Expand Up @@ -54,10 +54,6 @@ PrivLevel ::=
UserSpecList ::=
UserSpec ( ',' UserSpec )*
RequireClauseOpt ::= ('REQUIRE' ('NONE' | 'SSL' | 'X509' | RequireListElement ('AND'? RequireListElement)*))?
RequireListElement ::= 'ISSUER' Issuer | 'SUBJECT' Subject | 'CIPHER' Cipher | 'SAN' SAN | 'TOKEN_ISSUER' TokenIssuer
```

## 示例
Expand Down

0 comments on commit 1d58750

Please sign in to comment.