提交 5e6e86a3 编写于 作者: C Cary Xu

fix: create sma in mnode

上级 55016293
...@@ -238,7 +238,6 @@ SSmaObj *mndAcquireSma(SMnode *pMnode, char *smaName) { ...@@ -238,7 +238,6 @@ SSmaObj *mndAcquireSma(SMnode *pMnode, char *smaName) {
SSmaObj *pSma = sdbAcquire(pSdb, SDB_SMA, smaName); SSmaObj *pSma = sdbAcquire(pSdb, SDB_SMA, smaName);
if (pSma == NULL && terrno == TSDB_CODE_SDB_OBJ_NOT_THERE) { if (pSma == NULL && terrno == TSDB_CODE_SDB_OBJ_NOT_THERE) {
terrno = TSDB_CODE_MND_SMA_NOT_EXIST; terrno = TSDB_CODE_MND_SMA_NOT_EXIST;
ASSERT(0);
} }
return pSma; return pSma;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册