Skip to content

Commit

Permalink
make snapshot, repository and restore tokens nonReserved
Browse files Browse the repository at this point in the history
  • Loading branch information
mfussenegger committed Nov 6, 2015
1 parent 87dc85c commit 7f531af
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/sql/snapshot_restore.txt
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,9 @@ the state when the snapshot was created.
To get basic information about snapshots the :ref:`sys.snapshots
<sys-snapshots>` table can be queried::

cr> SELECT "repository", name, state, concrete_indices
cr> SELECT repository, name, state, concrete_indices
... FROM sys.snapshots
... ORDER BY "repository", name;
... ORDER BY repository, name;
+-----------------------+-----------+---------+--------------------...-+
| repository | name | state | concrete_indices |
+-----------------------+-----------+---------+--------------------...-+
Expand Down
1 change: 1 addition & 0 deletions sql-parser/src/main/java/io/crate/sql/parser/Statement.g
Original file line number Diff line number Diff line change
Expand Up @@ -1083,6 +1083,7 @@ nonReserved
| PRECEDING | RANGE | REFRESH | ROW | ROWS | SCHEMAS | SECOND
| SHARDS | SHOW | STRICT | SYSTEM | TABLES | TABLESAMPLE | TEXT | TIME
| TIMESTAMP | TO | TOKENIZER | TOKEN_FILTERS | TYPE | VALUES | VIEW | YEAR
| REPOSITORY | SNAPSHOT | RESTORE
;

SELECT: 'SELECT';
Expand Down

0 comments on commit 7f531af

Please sign in to comment.