fix: payloadLen may be zero
This commit is contained in:
parent
161eb54b56
commit
bee96ce5e2
|
@ -2555,10 +2555,6 @@ int32_t setQueryResultFromRsp(SReqResultInfo* pResultInfo, const SRetrieveTableR
|
||||||
return TSDB_CODE_TSC_INTERNAL_ERROR;
|
return TSDB_CODE_TSC_INTERNAL_ERROR;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else {
|
|
||||||
pResultInfo->pData = NULL;
|
|
||||||
pResultInfo->payloadLen = 0;
|
|
||||||
return TSDB_CODE_TSC_INTERNAL_ERROR;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// TODO handle the compressed case
|
// TODO handle the compressed case
|
||||||
|
|
Loading…
Reference in New Issue