Fix memory leak introduce by change revert logic of lookup op.
This commit is contained in:
@ -365,10 +365,9 @@ int ObGroupLookupOp::set_lookup_scan_group(int64_t group_id)
|
|||||||
int ObGroupLookupOp::revert_iter()
|
int ObGroupLookupOp::revert_iter()
|
||||||
{
|
{
|
||||||
int ret = OB_SUCCESS;
|
int ret = OB_SUCCESS;
|
||||||
/*
|
if (OB_FAIL(ObLocalIndexLookupOp::revert_iter())) {
|
||||||
* ObLookupOp will call ObLocalIndexLookupOp::revert_iter();
|
LOG_WARN("revert local index lookup iter from group fail.", K(ret));
|
||||||
* We do not need revert twice!
|
}
|
||||||
*/
|
|
||||||
group_iter_.reset();
|
group_iter_.reset();
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user