提交 5adf5807 编写于 作者: dengyihao's avatar dengyihao

add checkpoint

上级 8c8b1a6d
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册