Skip to content

fix: tag scan return code issue #27627

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 11 commits into from
Sep 6, 2024
Prev Previous commit
Next Next commit
fix: add debug assert
  • Loading branch information
dapan1121 committed Sep 5, 2024
commit 6fdc3d63f7a062d68e97f9ac81e7fcf4ffe6a88f
1 change: 1 addition & 0 deletions source/common/src/tdatablock.c
Original file line number Diff line number Diff line change
Expand Up @@ -3011,6 +3011,7 @@ int32_t blockEncode(const SSDataBlock* pBlock, char* data, int32_t numOfCols) {

if (colSizes[col] <= 0 && !colDataIsNull_s(pColRes, 0) && pColRes->info.type != TSDB_DATA_TYPE_NULL) {
uError("Invalid colSize:%d colIdx:%d colType:%d while encoding block", colSizes[col], col, pColRes->info.type);
ASSERT(0);
terrno = TSDB_CODE_QRY_EXECUTOR_INTERNAL_ERROR;
return -1;
}
Expand Down