提交 da149e8a 编写于 作者: wmmhello's avatar wmmhello

[TD-5992] add test case

上级 7965b4c7
......@@ -299,7 +299,7 @@ bool taosReadConfigOption(const char *option, char *value, char *value2, char *v
for (int i = 0; i < tsGlobalConfigNum; ++i) {
SGlobalCfg *cfg = tsGlobalConfig + i;
if (!(cfg->cfgType & TSDB_CFG_CTYPE_B_CONFIG)) continue;
if (sourceType != 0 && !(sourceType & TSDB_CFG_CTYPE_B_CLIENT)) continue;
if (sourceType != 0 && !(cfg->cfgType & sourceType)) continue;
if (strcasecmp(cfg->option, option) != 0) continue;
switch (cfg->valType) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册