eldenmoon commented on code in PR #33403:
URL: https://github.com/apache/doris/pull/33403#discussion_r1577215335
##########
fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java:
##########
@@ -2666,6 +2674,10 @@ private void sendStmtPrepareOK() throws IOException {
serializer.writeInt2(numParams);
// reserved_1
serializer.writeInt1(0);
+ // warning_count
+ serializer.writeInt2(0);
+ // metadata follows
+ serializer.writeInt1(1);
Review Comment:
these two fields is under some condition, you should not directly adding them
##########
fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java:
##########
@@ -2666,6 +2674,10 @@ private void sendStmtPrepareOK() throws IOException {
serializer.writeInt2(numParams);
// reserved_1
serializer.writeInt1(0);
+ // warning_count
+ serializer.writeInt2(0);
+ // metadata follows
+ serializer.writeInt1(1);
Review Comment:
these two fields are under some conditions, you should not directly adding
them
--
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]