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