fix log print problem

This commit is contained in:
chaser-ch
2023-02-27 06:43:16 +00:00
committed by ob-robot
parent 89e9a6e621
commit baf1a0e2b9

View File

@ -374,12 +374,12 @@ int ObMultipleMerge::get_next_row(ObDatumRow *&row)
}
}
}
if (OB_SUCC(ret) && nullptr != row) {
if (OB_FAIL(row->prepare_new_row(out_project_cols_))) {
if (OB_SUCC(ret)) {
STORAGE_LOG(DEBUG, "chaser debug get next", KPC(row), K(unprojected_row_), K(ret));
if (nullptr != row && OB_FAIL(row->prepare_new_row(out_project_cols_))) {
STORAGE_LOG(WARN, "Failed to prepare new row", K(ret));
}
}
STORAGE_LOG(DEBUG, "chaser debug get next", KPC(row), K(unprojected_row_), K(ret));
return ret;
}