From 5e6e86a33343e81120f08fc33147bd721c951ab1 Mon Sep 17 00:00:00 2001 From: Cary Xu Date: Fri, 5 Aug 2022 16:35:00 +0800 Subject: [PATCH] fix: create sma in mnode --- source/dnode/mnode/impl/src/mndSma.c | 1 - 1 file changed, 1 deletion(-) diff --git a/source/dnode/mnode/impl/src/mndSma.c b/source/dnode/mnode/impl/src/mndSma.c index b2bffd68a6..74cada7cac 100644 --- a/source/dnode/mnode/impl/src/mndSma.c +++ b/source/dnode/mnode/impl/src/mndSma.c @@ -238,7 +238,6 @@ SSmaObj *mndAcquireSma(SMnode *pMnode, char *smaName) { SSmaObj *pSma = sdbAcquire(pSdb, SDB_SMA, smaName); if (pSma == NULL && terrno == TSDB_CODE_SDB_OBJ_NOT_THERE) { terrno = TSDB_CODE_MND_SMA_NOT_EXIST; - ASSERT(0); } return pSma; } -- GitLab