Fix valgrind failure
This commit is contained in:
parent
dde6d76995
commit
229c836d6a
@ -2057,7 +2057,7 @@ public:
|
|||||||
StringBuffer<MAX_FIELD_WIDTH> val;
|
StringBuffer<MAX_FIELD_WIDTH> val;
|
||||||
column->val_str(&val);
|
column->val_str(&val);
|
||||||
auto it = bucket_bounds.begin();
|
auto it = bucket_bounds.begin();
|
||||||
bucket_bounds.insert(it+curr_bucket, val.c_ptr());
|
bucket_bounds.insert(it+curr_bucket, std::string(val.ptr(), val.length()));
|
||||||
curr_bucket++;
|
curr_bucket++;
|
||||||
while (curr_bucket != hist_width &&
|
while (curr_bucket != hist_width &&
|
||||||
count > bucket_capacity * (curr_bucket + 1))
|
count > bucket_capacity * (curr_bucket + 1))
|
||||||
|
Loading…
x
Reference in New Issue
Block a user