fix: adjust tsdbReadFile call in tsdbDataFileRAWReadBlockData

This commit is contained in:
Benguang Zhao 2023-12-06 16:38:09 +08:00
parent 52672657c1
commit 28e1d83662
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ int32_t tsdbDataFileRAWReadBlockData(SDataFileRAWReader *reader, STsdbDataRAWBlo
pBlock->file.maxVer = reader->config->file.maxVer;
pBlock->file.stt->level = reader->config->file.stt->level;
code = tsdbReadFile(reader->fd, pBlock->offset, pBlock->data, pBlock->dataLength);
code = tsdbReadFile(reader->fd, pBlock->offset, pBlock->data, pBlock->dataLength, 0);
TSDB_CHECK_CODE(code, lino, _exit);
_exit: