diff --git a/kernel/sql-translator/distsql/parser/src/main/java/org/apache/shardingsphere/sqltranslator/distsql/parser/core/SQLTranslatorDistSQLStatementVisitor.java b/kernel/sql-translator/distsql/parser/src/main/java/org/apache/shardingsphere/sqltranslator/distsql/parser/core/SQLTranslatorDistSQLStatementVisitor.java index 5225d94380507..9117042f7eb5f 100644 --- a/kernel/sql-translator/distsql/parser/src/main/java/org/apache/shardingsphere/sqltranslator/distsql/parser/core/SQLTranslatorDistSQLStatementVisitor.java +++ b/kernel/sql-translator/distsql/parser/src/main/java/org/apache/shardingsphere/sqltranslator/distsql/parser/core/SQLTranslatorDistSQLStatementVisitor.java @@ -44,7 +44,7 @@ public ASTNode visitShowSQLTranslatorRule(final ShowSQLTranslatorRuleContext ctx @Override public ASTNode visitAlterSQLTranslatorRule(final AlterSQLTranslatorRuleContext ctx) { return new AlterSQLTranslatorRuleStatement(getIdentifierValue(ctx.sqlTranslatorRuleDefinition().providerName()), getProperties(ctx.sqlTranslatorRuleDefinition().propertiesDefinition()), - null == ctx.sqlTranslatorRuleDefinition().useOriginalSQLDefinition().useOriginalSQL() ? null + null == ctx.sqlTranslatorRuleDefinition().useOriginalSQLDefinition() ? null : Boolean.valueOf(getIdentifierValue(ctx.sqlTranslatorRuleDefinition().useOriginalSQLDefinition().useOriginalSQL()))); }