Skip to content

Commit

Permalink
Merge pull request #48 from sharding-sphere/dev
Browse files Browse the repository at this point in the history
update from origin
  • Loading branch information
beckhampu authored Nov 12, 2018
2 parents 33e833a + f7528d2 commit 0e82de4
Show file tree
Hide file tree
Showing 61 changed files with 1,693 additions and 459 deletions.
50 changes: 49 additions & 1 deletion sharding-core/src/main/antlr4/imports/BaseRule.g4
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,14 @@ schemaName
: ID
;

databaseName
: ID
;

domainName
: ID
;

tableName
: ID
;
Expand All @@ -19,6 +27,10 @@ columnName
: ID
;

sequenceName
: ID
;

tablespaceName
: ID
;
Expand Down Expand Up @@ -97,7 +109,7 @@ routineName
;

roleName
: ID
: STRING | ID
;

partitionName
Expand All @@ -113,9 +125,17 @@ ownerName
;

userName
: STRING | ID
;

serverName
: ID
;

databaseName
: ID
;

dataTypeLength
: LP_ (NUMBER (COMMA NUMBER)?)? RP_
;
Expand All @@ -140,6 +160,18 @@ rangeClause
: NUMBER (COMMA NUMBER)* | NUMBER OFFSET NUMBER
;

schemaNames
: schemaName (COMMA schemaName)*
;

databaseNames
: databaseName (COMMA databaseName)*
;

domainNames
: domainName (COMMA domainName)*
;

tableNamesWithParen
: LP_ tableNames RP_
;
Expand All @@ -160,10 +192,22 @@ columnList
: LP_ columnNames RP_
;

sequenceNames
: sequenceName (COMMA sequenceName)*
;

tablespaceNames
: tablespaceName (COMMA tablespaceName)*
;

indexNames
: indexName (COMMA indexName)*
;

typeNames
: typeName (COMMA typeName)*
;

rowNames
: rowName (COMMA rowName)*
;
Expand All @@ -176,6 +220,10 @@ userNames
: userName (COMMA userName)*
;

serverNames
: serverName (COMMA serverName)*
;

bitExprs:
bitExpr (COMMA bitExpr)*
;
Expand Down
Loading

0 comments on commit 0e82de4

Please sign in to comment.