refactor backend
This commit is contained in:
parent
0ba7e2278a
commit
8c1a9f7c58
|
@ -469,7 +469,7 @@ int32_t rebuildDirFromChkp2(const char* path, char* key, int64_t chkpId, char**
|
||||||
}
|
}
|
||||||
|
|
||||||
char* defaultPath = taosMemoryCalloc(1, strlen(path) + 256);
|
char* defaultPath = taosMemoryCalloc(1, strlen(path) + 256);
|
||||||
sprintf(defaultPath, "%s%s%s", prefixPath, TD_DIRSEP, "defaultPath");
|
sprintf(defaultPath, "%s%s%s", prefixPath, TD_DIRSEP, "state");
|
||||||
if (!taosIsDir(defaultPath)) {
|
if (!taosIsDir(defaultPath)) {
|
||||||
taosMulMkDir(defaultPath);
|
taosMulMkDir(defaultPath);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue