fix: check return value

This commit is contained in:
xsren 2024-10-23 15:51:46 +08:00
parent e8835c2caa
commit 1e8565eca8
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ int32_t sortMergeloadNextDataBlock(void* param, SSDataBlock** ppBlock) {
if (code) { if (code) {
qError("failed to get next data block from upstream, %s code:%s", __func__, tstrerror(code)); qError("failed to get next data block from upstream, %s code:%s", __func__, tstrerror(code));
} }
blockDataCheck(*ppBlock); code = blockDataCheck(*ppBlock);
if (code) { if (code) {
qError("failed to check data block got from upstream, %s code:%s", __func__, tstrerror(code)); qError("failed to check data block got from upstream, %s code:%s", __func__, tstrerror(code));
} }