fix(stream): check null ptr.
This commit is contained in:
parent
08092aeb0c
commit
df6ec3afc2
|
@ -709,13 +709,13 @@ static int32_t allTasksSendChkptReport(SChkptReportInfo* pReportInfo, int32_t nu
|
||||||
} else {
|
} else {
|
||||||
// do nothing
|
// do nothing
|
||||||
}
|
}
|
||||||
}
|
} else {
|
||||||
|
if (pTransInfo->transId != transId) {
|
||||||
if (pTransInfo->transId != transId) {
|
mError("stream:0x%" PRIx64
|
||||||
mError("stream:0x%" PRIx64
|
" checkpoint-report list info are expired, active transId:%d trans in list:%d, recheck next time",
|
||||||
" checkpoint-report list info are expired, active transId:%d trans in list:%d, recheck next time",
|
id.streamId, pTransInfo->transId, transId);
|
||||||
id.streamId, pTransInfo->transId, transId);
|
return -1;
|
||||||
return -1;
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
mDebug("stream:0x%" PRIx64 " %s all %d tasks send checkpoint-report, start to update checkpoint-info", id.streamId,
|
mDebug("stream:0x%" PRIx64 " %s all %d tasks send checkpoint-report, start to update checkpoint-info", id.streamId,
|
||||||
|
|
Loading…
Reference in New Issue