lwtdev commented on a change in pull request #8160:
URL: https://github.com/apache/shardingsphere/pull/8160#discussion_r525092689
##########
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/MySQLStatementSQLVisitor.java
##########
@@ -544,7 +545,17 @@ public ASTNode visitQueryExpressionParens(final
QueryExpressionParensContext ctx
@Override
public ASTNode visitLockClauseList(final LockClauseListContext ctx) {
- return new LockSegment(ctx.getStart().getStartIndex(),
ctx.getStop().getStopIndex());
+ LockSegment lockSegment = new
LockSegment(ctx.getStart().getStartIndex(), ctx.getStop().getStopIndex());
Review comment:
OK, I will modify this.
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]