mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-02-02 01:06:41 +08:00
https://github.com/milvus-io/milvus/issues/30728 pr: #30848 Signed-off-by: longjiquan <jiquan.long@zilliz.com>
This commit is contained in:
parent
4e48a4de0e
commit
50bfde92f2
@ -326,10 +326,10 @@ class VariableColumn : public ColumnBase {
|
||||
indices_ = std::move(indices);
|
||||
}
|
||||
|
||||
num_rows_ = indices_.size();
|
||||
|
||||
// for variable length memory mode only
|
||||
if (data_ == nullptr) {
|
||||
num_rows_ = indices_.size();
|
||||
|
||||
size_t total_size = size_;
|
||||
size_ = 0;
|
||||
Expand(total_size);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user