xiaokang commented on code in PR #17922:
URL: https://github.com/apache/doris/pull/17922#discussion_r1141229806
##########
be/src/vec/core/field.h:
##########
@@ -147,7 +147,12 @@ class JsonbField {
memcpy(data, x.data, size);
}
- JsonbField(JsonbField&& x) : data(x.data), size(x.size) {
+ JsonbField(JsonbField&& x) {
+ if (data) {
Review Comment:
It's not necessary for constructor function since the object is not existed
yet.
--
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]