fix(util): set code to be success if set config success.
This commit is contained in:
parent
d1ecfe5cf3
commit
7d1e2f1f9d
|
@ -361,12 +361,11 @@ int32_t cfgSetItem(SConfig *pCfg, const char *name, const char *value, ECfgSrcTy
|
|||
}
|
||||
case CFG_DTYPE_NONE:
|
||||
default:
|
||||
terrno = TSDB_CODE_INVALID_CFG;
|
||||
break;
|
||||
}
|
||||
|
||||
taosThreadMutexUnlock(&pCfg->lock);
|
||||
|
||||
terrno = TSDB_CODE_INVALID_CFG;
|
||||
return code;
|
||||
}
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ class TDTestCase(TBase):
|
|||
|
||||
def checkQueryOK(self, rets):
|
||||
if rets[-2][:9] != "Query OK,":
|
||||
tdLog.exit(f"check taos -s return unecpect: {rets}")
|
||||
tdLog.exit(f"check taos -s return unexpect: {rets}")
|
||||
|
||||
def doTaos(self):
|
||||
tdLog.info(f"check taos command options...")
|
||||
|
|
Loading…
Reference in New Issue