fix:[TD-32184] result row do decode only when version is different.

This commit is contained in:
Jing Sima 2024-10-14 14:05:58 +08:00
parent cf3db4f1a6
commit 9bd22e4e61
1 changed files with 1 additions and 1 deletions

View File

@ -119,7 +119,7 @@ int32_t getResultRowFromBuf(SExprSupp *pSup, const char* inBuf, size_t inBufSize
int32_t len = *(int32_t*)inBuf;
inBuf += sizeof(int32_t);
processedSize += sizeof(int32_t);
if (pCtx->fpSet.decode) {
if (pResultRow->version != FUNCTION_RESULT_INFO_VERSION && pCtx->fpSet.decode) {
code = pCtx->fpSet.decode(&pCtx[i], inBuf, getResultEntryInfo(pResultRow, i, offset), pResultRow->version);
if (code != TSDB_CODE_SUCCESS) {
qError("failed to decode result row, code:%d", code);