fix commit coredump

This commit is contained in:
Hongze Cheng 2020-05-21 06:58:02 +00:00
parent f95ebeadc1
commit 28a9276105
1 changed files with 1 additions and 0 deletions

View File

@ -489,6 +489,7 @@ int tsdbLoadCompIdx(SRWHelper *pHelper, void *target) {
}
ASSERT(((char *)ptr - (char *)pHelper->pBuffer) == (pFile->info.len - sizeof(TSCKSUM)));
if (lseek(fd, TSDB_FILE_HEAD_SIZE, SEEK_SET) < 0) return -1;
}
}