You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/10/17 00:46:31 UTC

[GitHub] [shardingsphere] tuichenchuxin commented on a change in pull request #13046: #12469 - Supporting administration statements for CLONE command

tuichenchuxin commented on a change in pull request #13046:
URL: https://github.com/apache/shardingsphere/pull/13046#discussion_r730201066



##########
File path: shardingsphere-sql-parser/shardingsphere-sql-parser-dialect/shardingsphere-sql-parser-mysql/src/main/java/org/apache/shardingsphere/sql/parser/mysql/visitor/statement/impl/MySQLDALStatementSQLVisitor.java
##########
@@ -275,6 +280,27 @@ public ASTNode visitInstallPlugin(final InstallPluginContext ctx) {
         result.setPluginName(((IdentifierValue) visit(ctx.pluginName())).getValue());
         return result;
     }
+
+    @Override
+    public ASTNode visitCloneAction(final CloneActionContext ctx) {
+        MySQLCloneStatement result = new MySQLCloneStatement();

Review comment:
       I think result should be in visitClone method And with CloneContext 's startIndex and stopIndex should be in result.




-- 
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: notifications-unsubscribe@shardingsphere.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org