[scn] fix failure of mittest after refresh feature scn

This commit is contained in:
obdev
2022-11-28 01:46:42 +00:00
committed by ob-robot
parent 49a02f3304
commit 54b64a7263
1898 changed files with 255804 additions and 280809 deletions

View File

@ -291,17 +291,17 @@ int ObDASScanOp::release_op()
LOG_WARN("revert scan iterator failed", K(ret));
} else if (OB_FAIL(lookup_op->revert_iter())) {
LOG_WARN("revert lookup iterator failed", K(ret));
} else {
result_ = nullptr;
}
} else {
if (OB_FAIL(tsc_service.revert_scan_iter(result_))) {
LOG_WARN("revert scan iterator failed", K(ret));
} else {
result_ = nullptr;
}
}
}
if (OB_SUCC(ret) && result_ != nullptr) {
result_ = nullptr;
}
//need to clear the flag:need_switch_param_
//otherwise table_rescan will jump to the switch iterator path in retry
scan_param_.need_switch_param_ = false;