fix:[TD-31405] Return correct error code in spread function.
This commit is contained in:
parent
f4927bb873
commit
80bb0d7cf8
|
@ -4346,7 +4346,7 @@ int32_t spreadPartialFinalize(SqlFunctionCtx* pCtx, SSDataBlock* pBlock) {
|
|||
|
||||
_exit:
|
||||
taosMemoryFree(res);
|
||||
return TSDB_CODE_SUCCESS;
|
||||
return code;
|
||||
}
|
||||
|
||||
int32_t spreadCombine(SqlFunctionCtx* pDestCtx, SqlFunctionCtx* pSourceCtx) {
|
||||
|
|
Loading…
Reference in New Issue