assign use_seg_array_ true when prepare_container_

when prepare_container_, file_id_list use seg_array instead of list_array.

we need assign use_seg_array_ true that time
This commit is contained in:
xl
2021-06-16 11:27:56 +08:00
committed by MizuhaHimuraki
parent 06e1198115
commit cbeee6568e

View File

@ -789,6 +789,8 @@ int ObFileIdList::prepare_container_()
container_ptr_->destroy(); container_ptr_->destroy();
log2file_list_allocator_->free(container_ptr_); log2file_list_allocator_->free(container_ptr_);
container_ptr_ = tmp_container_ptr; container_ptr_ = tmp_container_ptr;
use_seg_array_ = true;
CSR_LOG(INFO, "use seg array in prepare_container_ function");
} }
} }
} else { } else {