fix: tqOffsetSnapRead success on tq/offset-ver not existing
This commit is contained in:
parent
71ab33ff1f
commit
2f9218b79c
|
@ -56,7 +56,7 @@ int32_t tqOffsetSnapRead(STqOffsetReader* pReader, uint8_t** ppData) {
|
|||
TdFilePtr pFile = taosOpenFile(fname, TD_FILE_READ);
|
||||
if (pFile == NULL) {
|
||||
taosMemoryFree(fname);
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
int64_t sz = 0;
|
||||
|
|
Loading…
Reference in New Issue