You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2022/02/26 11:50:49 UTC
[shardingsphere] branch master updated: Revise #15648 (#15652)
This is an automated email from the ASF dual-hosted git repository.
duanzhengqiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new aa16b81 Revise #15648 (#15652)
aa16b81 is described below
commit aa16b813e955aedc8c3d7cf686c30bc250146d6c
Author: Guocheng Tang <to...@qq.com>
AuthorDate: Sat Feb 26 19:49:40 2022 +0800
Revise #15648 (#15652)
---
.../mysql/visitor/statement/impl/MySQLDDLStatementSQLVisitor.java | 3 ---
1 file changed, 3 deletions(-)
diff --git a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/src/main/java/org/apache/shardingsphere/sql/parser/mysql/visitor/statement/impl/MySQLDDLStatementSQLVisitor.java b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/src/main/java/org/apache/shardingsphere/sql/parser/mysql/visitor/statement/impl/MySQLDDLStatementSQLVisitor.java
index b8d2033..c3e3d0f 100644
--- a/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/src/main/java/org/apache/shardingsphere/sql/parser/mysql/visitor/statement/impl/MySQLDDLStatementSQLVisitor.java
+++ b/shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/src/main/java/org/apache/shardingsphere/sql/parser/mysql/visitor/statement/impl/MySQLDDLStatementSQLVisitor.java
@@ -500,9 +500,6 @@ public final class MySQLDDLStatementSQLVisitor extends MySQLStatementSQLVisitor
if (null != ctx.indexName()) {
result.setIndexName((IndexSegment) visit(ctx.indexName()));
}
- if (null != ctx.indexName()) {
- result.setIndexName((IndexSegment) visit(ctx.indexName()));
- }
return result;
}