fix: coverity issues

CID: 399945
This commit is contained in:
Ganlin Zhao 2022-10-24 14:16:17 +08:00
parent aa4daf1770
commit c2bff98311
1 changed files with 4 additions and 2 deletions

View File

@ -948,8 +948,10 @@ int32_t tdAppendColValToRow(SRowBuilder *pBuilder, col_id_t colId, int8_t colTyp
#ifdef TD_SUPPORT_BITMAP #ifdef TD_SUPPORT_BITMAP
if (valType == TD_VTYPE_NORM) { if (valType == TD_VTYPE_NORM) {
terrno = TSDB_CODE_INVALID_PTR; terrno = TSDB_CODE_INVALID_PTR;
return terrno; } else {
terrno = TSDB_CODE_INVALID_PARA;
} }
return terrno;
#else #else
TASSERT(0); TASSERT(0);
terrno = TSDB_CODE_INVALID_PARA; terrno = TSDB_CODE_INVALID_PARA;