fix:[TD-31326] Return correct error code in _return.
This commit is contained in:
parent
65cfa89f56
commit
cb4cc327d9
|
@ -871,7 +871,7 @@ _return:
|
|||
TSC_ERR_RET(terrno);
|
||||
}
|
||||
|
||||
return TSDB_CODE_SUCCESS;
|
||||
return code;
|
||||
}
|
||||
|
||||
void tscStopCrashReport() {
|
||||
|
|
|
@ -1405,7 +1405,7 @@ _return:
|
|||
TSC_ERR_RET(terrno);
|
||||
}
|
||||
|
||||
return TSDB_CODE_SUCCESS;
|
||||
return code;
|
||||
}
|
||||
|
||||
static void hbStopThread() {
|
||||
|
|
|
@ -2343,7 +2343,7 @@ _return:
|
|||
|
||||
(void)filterFreeRangeCtx(ctx); // No need to handle the return value.
|
||||
|
||||
return TSDB_CODE_SUCCESS;
|
||||
return code;
|
||||
}
|
||||
|
||||
int32_t filterMergeGroupUnits(SFilterInfo *info, SFilterGroupCtx **gRes, int32_t *gResNum) {
|
||||
|
@ -2671,7 +2671,7 @@ _return:
|
|||
|
||||
(void)filterFreeRangeCtx(ctx); // No need to handle the return value.
|
||||
|
||||
return TSDB_CODE_SUCCESS;
|
||||
return code;
|
||||
}
|
||||
|
||||
int32_t filterMergeGroups(SFilterInfo *info, SFilterGroupCtx **gRes, int32_t *gResNum) {
|
||||
|
@ -2758,7 +2758,7 @@ _return:
|
|||
|
||||
FILTER_SET_FLAG(info->status, FI_STATUS_ALL);
|
||||
|
||||
return TSDB_CODE_SUCCESS;
|
||||
return code;
|
||||
}
|
||||
|
||||
int32_t filterConvertGroupFromArray(SFilterInfo *info, SArray *group) {
|
||||
|
@ -2958,7 +2958,7 @@ _return:
|
|||
taosMemoryFreeClear(idxNum);
|
||||
taosMemoryFreeClear(idxs);
|
||||
|
||||
return TSDB_CODE_SUCCESS;
|
||||
return code;
|
||||
}
|
||||
|
||||
int32_t filterPostProcessRange(SFilterInfo *info) {
|
||||
|
@ -5003,7 +5003,7 @@ int32_t fltOptimizeNodes(SFilterInfo *pInfo, SNode **pNode, SFltTreeStat *pStat)
|
|||
}
|
||||
_return:
|
||||
taosArrayDestroy(sclOpList);
|
||||
return TSDB_CODE_SUCCESS;
|
||||
return code;
|
||||
}
|
||||
|
||||
int32_t fltGetDataFromColId(void *param, int32_t id, void **data) {
|
||||
|
|
|
@ -2913,7 +2913,7 @@ int32_t histogramScalarFunction(SScalarParam *pInput, int32_t inputNum, SScalarP
|
|||
|
||||
_return:
|
||||
taosMemoryFree(bins);
|
||||
return TSDB_CODE_SUCCESS;
|
||||
return code;
|
||||
}
|
||||
|
||||
int32_t selectScalarFunction(SScalarParam *pInput, int32_t inputNum, SScalarParam *pOutput) {
|
||||
|
|
Loading…
Reference in New Issue