fix: core dump without resetTableListIndex
This commit is contained in:
parent
89cd2b6f17
commit
4fb0f83f07
|
@ -166,7 +166,7 @@ typedef struct {
|
|||
// clang-format off
|
||||
/*-------------------------------------------------new api format---------------------------------------------------*/
|
||||
typedef enum {
|
||||
TSD_READER_NOTIFY_DURATION
|
||||
TSD_READER_NOTIFY_DURATION_START
|
||||
} ETsdReaderNotifyType;
|
||||
|
||||
typedef union {
|
||||
|
|
|
@ -4369,8 +4369,9 @@ static int32_t doTsdbNextDataBlockDurationOrder(STsdbReader* pReader) {
|
|||
if (pReader->notifyFn) {
|
||||
STsdReaderNotifyInfo info = {0};
|
||||
info.duration.fileSetId = fid;
|
||||
pReader->notifyFn(TSD_READER_NOTIFY_DURATION, &info, pReader->notifyParam);
|
||||
pReader->notifyFn(TSD_READER_NOTIFY_DURATION_START, &info, pReader->notifyParam);
|
||||
}
|
||||
resetTableListIndex(pStatus);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue