Fix the issue of misusing the dump interface of col_store
This commit is contained in:
@ -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();
|
||||||
|
|||||||
Reference in New Issue
Block a user