TeslaCN commented on code in PR #25939:
URL: https://github.com/apache/shardingsphere/pull/25939#discussion_r1211078901
##########
parser/sql/dialect/mysql/src/main/antlr4/imports/mysql/DDLStatement.g4:
##########
@@ -207,7 +207,7 @@ truncateTable
createIndex
: CREATE createIndexSpecification? INDEX indexName indexTypeClause? ON
tableName keyListWithExpression indexOption?
- (alterAlgorithmOption | alterLockOption)*
+ alterAlgorithmOption? alterLockOption?
Review Comment:
Please refer to MySQL syntax.
https://github.com/mysql/mysql-server/blob/1bfe02bdad6604d54913c62614bde57a055c8332/sql/sql_yacc.yy#L9089
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]