yiguolei commented on code in PR #22612:
URL: https://github.com/apache/doris/pull/22612#discussion_r1284153728


##########
be/src/vec/functions/function_string.h:
##########
@@ -696,8 +696,6 @@ class FunctionStringConcat : public IFunction {
         if ((UNLIKELY(UINT_MAX - input_rows_count < res_reserve_size))) {
             return Status::BufferAllocFailed("concat output is too large to 
allocate");
         }
-        // for each terminal zero
-        res_reserve_size += input_rows_count;

Review Comment:
   This line is also on master, why not modify master's code.



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