strea/checkpoint: fix meta file path

This commit is contained in:
Minglei Jin 2024-11-04 14:22:28 +08:00
parent 71e27240cb
commit 175a3f7d57
1 changed files with 1 additions and 1 deletions

View File

@ -5071,7 +5071,7 @@ int32_t dbChkpDumpTo(SDbChkp* p, char* dname, SArray* list) {
goto _ERROR;
}
TdFilePtr pFile = taosOpenFile(dstDir, TD_FILE_CREATE | TD_FILE_WRITE | TD_FILE_TRUNC);
TdFilePtr pFile = taosOpenFile(dstBuf, TD_FILE_CREATE | TD_FILE_WRITE | TD_FILE_TRUNC);
if (pFile == NULL) {
code = terrno;
stError("chkp failed to create meta file: %s, reason:%s", dstDir, tstrerror(code));