fix case
This commit is contained in:
parent
a1163f2844
commit
4688d4f0c1
|
@ -1772,10 +1772,9 @@ static int32_t mndProcessUseDbReq(SRpcMsg *pReq) {
|
||||||
usedbRsp.vgVersion = usedbReq.vgVersion;
|
usedbRsp.vgVersion = usedbReq.vgVersion;
|
||||||
usedbRsp.errCode = terrno;
|
usedbRsp.errCode = terrno;
|
||||||
|
|
||||||
if (terrno == TSDB_CODE_MND_DB_IN_CREATING) {
|
code = TSDB_CODE_MND_RETURN_VALUE_NULL;
|
||||||
code = terrno;
|
if (terrno != 0) code = terrno;
|
||||||
goto _OVER;
|
goto _OVER;
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
TAOS_CHECK_GOTO(mndCheckDbPrivilege(pMnode, pReq->info.conn.user, MND_OPER_USE_DB, pDb), NULL, _OVER);
|
TAOS_CHECK_GOTO(mndCheckDbPrivilege(pMnode, pReq->info.conn.user, MND_OPER_USE_DB, pDb), NULL, _OVER);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue