[CP] reuse das task result

This commit is contained in:
obdev
2023-03-07 11:10:56 +00:00
committed by ob-robot
parent f5e563764a
commit 24d6c8b818
12 changed files with 83 additions and 16 deletions

View File

@ -410,6 +410,13 @@ int ObDASUpdateResult::init(const ObIDASTaskOp &op, common::ObIAllocator &alloc)
return OB_SUCCESS;
}
int ObDASUpdateResult::reuse()
{
int ret = OB_SUCCESS;
affected_rows_ = 0;
return ret;
}
OB_SERIALIZE_MEMBER((ObDASUpdateResult, ObIDASTaskResult),
affected_rows_);
} // namespace sql