mirror of https://github.com/apache/cassandra
cqlsh: Fix handling of $$-escaped strings
patch by Mike Adamson; reviewed by Alex Petrov for CASSANDRA-12189
This commit is contained in:
parent
43d726be95
commit
0b49b1776e
|
|
@ -1,4 +1,5 @@
|
|||
3.9
|
||||
* cqlsh: Fix handling of $$-escaped strings (CASSANDRA-12189)
|
||||
* Fix SSL JMX requiring truststore containing server cert (CASSANDRA-12109)
|
||||
Merged from 3.0:
|
||||
* NullPointerExpception when reading/compacting table (CASSANDRA-11988)
|
||||
|
|
|
|||
|
|
@ -142,7 +142,7 @@ JUNK ::= /([ \t\r\f\v]+|(--|[/][/])[^\n\r]*([\n\r]|$)|[/][*].*?[*][/])/ ;
|
|||
<stringLiteral> ::= <quotedStringLiteral>
|
||||
| <pgStringLiteral> ;
|
||||
<quotedStringLiteral> ::= /'([^']|'')*'/ ;
|
||||
<pgStringLiteral> ::= /\$\$(?:(?!\$\$)|[^$])*\$\$/;
|
||||
<pgStringLiteral> ::= /\$\$(?:(?!\$\$).)*\$\$/;
|
||||
<quotedName> ::= /"([^"]|"")*"/ ;
|
||||
<float> ::= /-?[0-9]+\.[0-9]+/ ;
|
||||
<uuid> ::= /[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}/ ;
|
||||
|
|
@ -161,7 +161,7 @@ JUNK ::= /([ \t\r\f\v]+|(--|[/][/])[^\n\r]*([\n\r]|$)|[/][*].*?[*][/])/ ;
|
|||
| "false"
|
||||
;
|
||||
|
||||
<unclosedPgString>::= /\$\$(?:(?!\$\$)|[^$])*/ ;
|
||||
<unclosedPgString>::= /\$\$(?:(?!\$\$).)*/ ;
|
||||
<unclosedString> ::= /'([^']|'')*/ ;
|
||||
<unclosedName> ::= /"([^"]|"")*/ ;
|
||||
<unclosedComment> ::= /[/][*].*$/ ;
|
||||
|
|
|
|||
Loading…
Reference in New Issue