提交 e60672d0 编写于 作者: H Hongze Cheng

more code

上级 58ed42b0
...@@ -148,8 +148,8 @@ static int32_t fs_to_json_str(struct STFileSystem *pFS, char **ppData) { ...@@ -148,8 +148,8 @@ static int32_t fs_to_json_str(struct STFileSystem *pFS, char **ppData) {
_exit, // _exit, //
TSDB_CODE_OUT_OF_MEMORY); TSDB_CODE_OUT_OF_MEMORY);
for (int32_t i = 0; i < taosArrayGetSize(pFS->aFileSet); i++) { for (int32_t i = 0; i < taosArrayGetSize(pFS->nState); i++) {
struct SFileSet *pFileSet = taosArrayGet(pFS->aFileSet, i); struct SFileSet *pFileSet = taosArrayGet(pFS->nState, i);
code = tsdbFileSetToJson(aFileSetJson, pFileSet); code = tsdbFileSetToJson(aFileSetJson, pFileSet);
TSDB_CHECK_CODE(code, lino, _exit); TSDB_CHECK_CODE(code, lino, _exit);
...@@ -410,6 +410,8 @@ static int32_t edit_fs(struct STFileSystem *pFS, const SArray *aFileOp) { ...@@ -410,6 +410,8 @@ static int32_t edit_fs(struct STFileSystem *pFS, const SArray *aFileOp) {
_exit); _exit);
} }
// TODO: write new state to file
_exit: _exit:
return 0; return 0;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册