Files
scylladb/cql3
Pekka Enberg d63649bf65 cql3: Fix CQL parser error message for counter types
The CQL tokenizer recognizes "COUNTER" token but the parser rule for
counter type is disabled. This causes users to see the following error
in cqlsh, for example:

  CREATE TABLE count (u int PRIMARY KEY, c counter);
  SyntaxException: <ErrorMessage code=2000 [Syntax error in CQL query] message=" : cannot match to any predicted input...  ">

We cannot disable the "COUNTER" token because it's also used in batch
statements. Instead, fix the issue by implementing a stub counter type.

Fixes #195.

Signed-off-by: Pekka Enberg <penberg@cloudius-systems.com>
2015-08-27 15:34:43 +03:00
..
2015-08-24 11:15:41 +03:00
2015-07-10 10:49:30 +03:00
2015-07-10 10:49:30 +03:00
2015-07-10 10:42:10 +03:00
2015-07-10 10:42:10 +03:00
2015-07-08 10:02:31 +02:00
2015-07-08 10:02:31 +02:00