add checkpoint
This commit is contained in:
parent
8c8b1a6d79
commit
5adf580764
|
@ -185,7 +185,9 @@ _err:
|
|||
int32_t rebuildDirFromCheckpoint(const char* path, int64_t chkpId, char** dst) {
|
||||
// impl later
|
||||
int32_t code = 0;
|
||||
char* state = taosMemoryCalloc(1, strlen(path) + 32);
|
||||
|
||||
// chkpId = 0;
|
||||
char* state = taosMemoryCalloc(1, strlen(path) + 32);
|
||||
sprintf(state, "%s/%s", path, "state");
|
||||
if (chkpId != 0) {
|
||||
char* chkp = taosMemoryCalloc(1, strlen(path) + 64);
|
||||
|
|
Loading…
Reference in New Issue