fix:[TS-4718]pMsg->data is null
This commit is contained in:
parent
e8ef5c570c
commit
4c87857153
|
@ -1352,6 +1352,11 @@ int32_t tmqPollCb(void* param, SDataBuf* pMsg, int32_t code) {
|
|||
goto FAIL;
|
||||
}
|
||||
|
||||
if(pMsg->pData == NULL){
|
||||
tscError("consumer:0x%" PRIx64 " msg discard from vgId:%d, since msg is NULL", tmq->consumerId, vgId);
|
||||
goto FAIL;
|
||||
}
|
||||
|
||||
if (code != 0) {
|
||||
goto END;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue