add checkpoint

This commit is contained in:
yihaoDeng 2023-07-17 03:44:06 +00:00
parent 8c8b1a6d79
commit 5adf580764
1 changed files with 3 additions and 1 deletions

View File

@ -185,6 +185,8 @@ _err:
int32_t rebuildDirFromCheckpoint(const char* path, int64_t chkpId, char** dst) {
// impl later
int32_t code = 0;
// chkpId = 0;
char* state = taosMemoryCalloc(1, strlen(path) + 32);
sprintf(state, "%s/%s", path, "state");
if (chkpId != 0) {