Jibing-Li commented on code in PR #54446:
URL: https://github.com/apache/doris/pull/54446#discussion_r2275683619


##########
fe/fe-core/src/main/java/org/apache/doris/qe/StmtExecutor.java:
##########
@@ -2004,6 +2008,79 @@ public void sendResultSet(ResultSet resultSet, 
List<FieldInfo> fieldInfos) throw
         }
     }
 
+    private void sendTextResultRow(ResultSet resultSet) throws IOException {
+        for (List<String> row : resultSet.getResultRows()) {
+            serializer.reset();
+            for (String item : row) {
+                if (item == null || item.equals(FeConstants.null_string)) {
+                    serializer.writeNull();
+                } else {
+                    serializer.writeLenEncodedString(item);
+                }
+            }
+            context.getMysqlChannel().sendOnePacket(serializer.toByteBuffer());
+        }
+    }
+
+    private void sendBinaryResultRow(ResultSet resultSet) throws IOException {

Review Comment:
   added



-- 
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]

Reply via email to