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: commits-unsubscr...@doris.apache.org

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


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@doris.apache.org
For additional commands, e-mail: commits-h...@doris.apache.org

Reply via email to