Skip to content

Commit

Permalink
sql: fix the synopsis of REVOKE <privileges> (#19659)
Browse files Browse the repository at this point in the history
  • Loading branch information
Oreoxmt authored Dec 12, 2024
1 parent 9724b36 commit 3ae7309
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 @@ -11,8 +11,8 @@ This statement removes privileges from an existing user. Executing this statemen
## Synopsis

```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 @@ -55,10 +55,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
```

## Examples
Expand Down

0 comments on commit 3ae7309

Please sign in to comment.