xinyiZzz commented on code in PR #52553:
URL: https://github.com/apache/doris/pull/52553#discussion_r2215126784
##########
be/src/vec/common/pod_array.h:
##########
@@ -228,12 +261,6 @@ class PODArrayBase : private boost::noncopyable,
ptrdiff_t end_diff = c_end - c_start;
ptrdiff_t res_mem_diff = c_res_mem - c_start;
- // Realloc can do 2 possible things:
- // - expand existing memory region
- // - allocate new memory block and free the old one
- // Because we don't know which option will be picked we need to make
sure there is enough
- // memory for all options.
- check_memory(res_mem_diff);
Review Comment:
done
--
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]