mirror of https://github.com/apache/cassandra
Merge branch 'cassandra-2.1' into trunk
This commit is contained in:
commit
23bc393401
|
|
@ -25,6 +25,7 @@
|
|||
* Configurable client timeout for cqlsh (CASSANDRA-7516)
|
||||
* Include snippet of CQL query near syntax error in messages (CASSANDRA-7111)
|
||||
Merged from 2.0:
|
||||
* (cqlsh) Add tab-completion for CREATE/DROP USER IF [NOT] EXISTS (CASSANDRA-7611)
|
||||
* Catch errors when the JVM pulls the rug out from GCInspector (CASSANDRA-5345)
|
||||
|
||||
|
||||
|
|
|
|||
|
|
@ -1089,7 +1089,7 @@ syntax_rules += r'''
|
|||
<username> ::= name=( <identifier> | <stringLiteral> )
|
||||
;
|
||||
|
||||
<createUserStatement> ::= "CREATE" "USER" <username>
|
||||
<createUserStatement> ::= "CREATE" "USER" ( "IF" "NOT" "EXISTS" )? <username>
|
||||
( "WITH" "PASSWORD" <stringLiteral> )?
|
||||
( "SUPERUSER" | "NOSUPERUSER" )?
|
||||
;
|
||||
|
|
@ -1099,7 +1099,7 @@ syntax_rules += r'''
|
|||
( "SUPERUSER" | "NOSUPERUSER" )?
|
||||
;
|
||||
|
||||
<dropUserStatement> ::= "DROP" "USER" <username>
|
||||
<dropUserStatement> ::= "DROP" "USER" ( "IF" "EXISTS" )? <username>
|
||||
;
|
||||
|
||||
<listUsersStatement> ::= "LIST" "USERS"
|
||||
|
|
|
|||
Loading…
Reference in New Issue