From 5ed8f5d0e4db979c6f191280da689ab2e069ff89 Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Mon, 28 Dec 2020 11:46:11 +0800 Subject: [PATCH] fix compile issure --- src/tsdb/src/tsdbMain.c | 2 +- src/util/src/tconfig.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tsdb/src/tsdbMain.c b/src/tsdb/src/tsdbMain.c index be3f32812b..7d02bd9ea4 100644 --- a/src/tsdb/src/tsdbMain.c +++ b/src/tsdb/src/tsdbMain.c @@ -708,7 +708,7 @@ static int tsdbRestoreInfo(STsdbRepo *pRepo) { // TODO STsdbFileH *pFileH = pRepo->tsdbFileH; SFileGroup *pFGroup = NULL; STsdbCfg * pCfg = &(pRepo->config); - SCompBlock *pBlock = NULL; + SBlock * pBlock = NULL; SFileGroupIter iter; SRWHelper rhelper = {0}; diff --git a/src/util/src/tconfig.c b/src/util/src/tconfig.c index 670143a2d5..eb96f81b33 100644 --- a/src/util/src/tconfig.c +++ b/src/util/src/tconfig.c @@ -112,7 +112,7 @@ static void taosReadInt8Config(SGlobalCfg *cfg, char *input_value) { } } -static void taosReadDirectoryConfig(SGlobalCfg *cfg, char *input_value) { +static bool taosReadDirectoryConfig(SGlobalCfg *cfg, char *input_value) { int length = (int)strlen(input_value); char *option = (char *)cfg->ptr; if (length <= 0 || length > cfg->ptrLength) {