Fix the issue of misusing the dump interface of col_store

This commit is contained in:
qingsuijiu
2024-06-24 12:21:34 +00:00
committed by ob-robot
parent 337d5e595f
commit a5187b3130

View File

@ -384,7 +384,7 @@ int ObTempTableInsertVecOp::process_dump(dtl::ObDTLIntermResultInfo &interm_res_
for (int64_t i = 0; OB_SUCC(ret) && i < all_interm_res_info_.count(); ++i) { for (int64_t i = 0; OB_SUCC(ret) && i < all_interm_res_info_.count(); ++i) {
// The last block of the last chunk may still need to insert data and should not be dumped. // The last block of the last chunk may still need to insert data and should not be dumped.
bool dump_last_block = i < all_interm_res_info_.count() - 1; bool dump_last_block = i < all_interm_res_info_.count() - 1;
if (OB_FAIL(all_interm_res_info_.at(i)->col_store_->dump(false, dump_last_block))) { if (OB_FAIL(all_interm_res_info_.at(i)->col_store_->dump(dump_last_block))) {
LOG_WARN("failed to dump row store", K(ret)); LOG_WARN("failed to dump row store", K(ret));
} else { } else {
dump_end_time = oceanbase::common::ObTimeUtility::current_time(); dump_end_time = oceanbase::common::ObTimeUtility::current_time();