fix(query): change some assert to ASSERT macro

This commit is contained in:
Ganlin Zhao 2022-04-26 15:29:50 +08:00
parent daea9b4d58
commit 471b67ae45
2 changed files with 3 additions and 3 deletions

View File

@ -89,7 +89,7 @@ static FORCE_INLINE _getDoubleValue_fn_t getVectorDoubleValueFn(int32_t srcType)
} else if (srcType == TSDB_DATA_TYPE_NULL) {
p = NULL;
} else {
assert(0);
ASSERT(0);
}
return p;
}

View File

@ -179,7 +179,7 @@ _getBigintValue_fn_t getVectorBigintValueFn(int32_t srcType) {
} else if (srcType==TSDB_DATA_TYPE_NULL){
p = NULL;
} else {
assert(0);
ASSERT(0);
}
return p;
}
@ -1596,7 +1596,7 @@ _bin_scalar_fn_t getBinScalarOperatorFn(int32_t binFunctionId) {
case OP_TYPE_JSON_CONTAINS:
return vectorJsonContains;
default:
assert(0);
ASSERT(0);
return NULL;
}
}