fix(stream): fix syntax error.
This commit is contained in:
parent
096ba251ec
commit
bf16c596a6
|
@ -2207,10 +2207,10 @@ int32_t taskDbGenChkpUploadData__s3(STaskDbWrapper* pDb, void* bkdChkpMgt, int64
|
|||
SBkdMgt* p = (SBkdMgt*)bkdChkpMgt;
|
||||
|
||||
char* temp = taosMemoryCalloc(1, strlen(pDb->path) + 32);
|
||||
sprintf(temp, "%s%s%s%" PRId64 "", pDb->path, TD_DIRSEP, "tmp", chkpId);
|
||||
sprintf(temp, "%s%s%s%" PRId64, pDb->path, TD_DIRSEP, "tmp", chkpId);
|
||||
|
||||
if (taosDirExist(temp)) {
|
||||
cleanDir(temp, NULL);
|
||||
cleanDir(temp, "");
|
||||
} else {
|
||||
taosMkDir(temp);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue