Fix the new error code problem on the master branch

This commit is contained in:
hwx65
2024-06-17 15:58:17 +00:00
committed by ob-robot
parent 3697112153
commit 6e95d2cc3a

View File

@ -134,7 +134,7 @@ int ObUniqueIndexChecker::calc_column_checksum(
column_checksum.at(i) += row->storage_datums_[i].checksum(0); column_checksum.at(i) += row->storage_datums_[i].checksum(0);
} }
} }
if (OB_FAIL(dag_yield())) { if (OB_SUCC(ret) && OB_FAIL(dag_yield())) {
STORAGE_LOG(WARN, "fail to yield dag", KR(ret)); STORAGE_LOG(WARN, "fail to yield dag", KR(ret));
} }
} }