Merge pull request #27182 from taosdata/fix/3.0/TD-31405
fix:[TD-31405] Return correct error code in spread function.
This commit is contained in:
commit
c15d3ec56a
|
@ -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