fix compile issure
This commit is contained in:
parent
a7c6e73fb6
commit
5ed8f5d0e4
|
@ -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};
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue