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

Merge branch 'feature/TD-5992' of github.com:taosdata/TDengine into feature/TD-5992

......@@ -478,7 +478,7 @@ static setConfRet taos_set_config_imp(const char *config){
if(!taosReadConfigOption(item->string, item->valuestring, NULL, NULL, TAOS_CFG_CSTATUS_OPTION, TSDB_CFG_CTYPE_B_CLIENT)){
ret.retCode = SET_CONF_RET_ERR_PART;
if (strlen(ret.retMsg) == 0){
snprintf(ret.retMsg, RET_MSG_LENGTH - 1, "part error|%s", item->string);
snprintf(ret.retMsg, RET_MSG_LENGTH, "part error|%s", item->string);
}else{
int leftSize = RET_MSG_LENGTH - 1 - strlen(ret.retMsg);
leftSize = leftSize >= 0 ? leftSize : 0;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册