提交 c0f69556 编写于 作者: S slguan

merge from wal

上级 cde4ab7c
...@@ -402,8 +402,10 @@ static int32_t mgmtCreateDnode(uint32_t ip) { ...@@ -402,8 +402,10 @@ static int32_t mgmtCreateDnode(uint32_t ip) {
int32_t code = sdbInsertRow(&oper); int32_t code = sdbInsertRow(&oper);
if (code != TSDB_CODE_SUCCESS) { if (code != TSDB_CODE_SUCCESS) {
int dnodeId = pDnode->dnodeId;
tfree(pDnode); tfree(pDnode);
code = TSDB_CODE_SDB_ERROR; mError("failed to create dnode:%d, result:%s", dnodeId, tstrerror(code));
return TSDB_CODE_SDB_ERROR;
} }
mPrint("dnode:%d is created, result:%s", pDnode->dnodeId, tstrerror(code)); mPrint("dnode:%d is created, result:%s", pDnode->dnodeId, tstrerror(code));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册