Skip to content
Snippets Groups Projects
Commit 1d2deb40 authored by Kurdakov Alexander's avatar Kurdakov Alexander Committed by Alexander Kurdakov
Browse files

chore: remove redundant space from query.pest

parent 00148a64
No related branches found
No related tags found
1 merge request!1414sbroad import
......@@ -59,7 +59,7 @@ literal ::= 'TRUE'
| decimal
| string
dml ::= (call | delete | insert | update)
dml ::= (call | delete | insert | update)
( 'OPTION' '('
(('VTABLE_MAX_ROWS' | 'SQL_VDBE_MAX_STEPS') '=' unsigned)
(',' (('VTABLE_MAX_ROWS' | 'SQL_VDBE_MAX_STEPS') '=' unsigned))*
......@@ -143,7 +143,7 @@ create_procedure ::= 'CREATE' 'PROCEDURE' procedure '(' type (',' type)* ')'
create_role ::= 'CREATE' 'ROLE' role
create_table ::= 'CREATE' 'TABLE' table
'('
column type ('NOT'? 'NULL')? (',' column type ('NOT'? 'NULL')?)* ','
column type ('NOT'? 'NULL')? (',' column type ('NOT'? 'NULL')?)* ','
'PRIMARY KEY' '(' column (',' column)* ')'
')'
('USING' ('MEMTX' | 'VINYL'))?
......
......@@ -97,7 +97,7 @@ DDL = _{ CreateTable | DropTable | CreateIndex | DropIndex | CreateProc | DropPr
CreateIndex = {
^"create" ~ Unique? ~ ^"index" ~ Identifier ~ ^"on" ~ Table
~ IndexType? ~ "(" ~ Parts ~ ")" ~ IndexOptions? ~ TimeoutOption?
~ IndexType? ~ "(" ~ Parts ~ ")" ~ IndexOptions? ~ TimeoutOption?
}
Unique = { ^"unique" }
IndexType = { ^"using" ~ (Tree | Hash | RTree | BitSet) }
......@@ -115,7 +115,7 @@ DDL = _{ CreateTable | DropTable | CreateIndex | DropIndex | CreateProc | DropPr
RunCountPerLevel = { ^"run_count_per_level" ~ "=" ~Unsigned }
RunSizeRatio = { ^"run_size_ratio" ~ "=" ~ Decimal }
Dimension = { ^"dimension" ~ "=" ~ Unsigned }
Distance = { ^"distance" ~ "=" ~ (Euclid | Manhattan) }
Distance = { ^"distance" ~ "=" ~ (Euclid | Manhattan) }
Euclid = { ^"euclid" }
Manhattan = { ^"manhattan" }
Hint = { ^"hint" ~ "=" ~ (True | False) }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment