HexyinUESTC commented on code in PR #43038:
URL: https://github.com/apache/doris/pull/43038#discussion_r1825458630
##########
fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java:
##########
@@ -2810,7 +2810,7 @@ public void sendStmtPrepareOK(int stmtId, List<String>
labels) throws IOExceptio
context.getMysqlChannel().sendOnePacket(serializer.toByteBuffer());
}
context.getMysqlChannel().flush();
- context.getState().setNoop();
Review Comment:
After verification, I found that changing it to OK would cause issues.
Therefore, when logging, I added a validation: if the status is
`com_stmt_prepare` and there are no errors, it is recorded as OK.
--
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]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]