strongduanmu commented on a change in pull request #12295:
URL: https://github.com/apache/shardingsphere/pull/12295#discussion_r704974893
##########
File path:
shardingsphere-infra/shardingsphere-infra-binder/src/main/java/org/apache/shardingsphere/infra/binder/segment/insert/values/InsertValueContext.java
##########
@@ -102,6 +107,10 @@ private int getParameterIndex(final ExpressionSegment
valueExpression) {
}
if (each instanceof ParameterMarkerExpressionSegment) {
result++;
+ } else if (each instanceof BinaryOperationExpression) {
Review comment:
@CodingBingo Maybe we can consider adding a tool class to extract all
ParameterMarkerExpressionSegment from ExpressionSegment.
--
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]