diff --git a/src/system/detail/src/mgmtShell.c b/src/system/detail/src/mgmtShell.c index edc05dd71c95e1a509fcbb8268e5d3c0367a1987..a3c93cbbce2da978d12c7b54425d4b344ae60003 100644 --- a/src/system/detail/src/mgmtShell.c +++ b/src/system/detail/src/mgmtShell.c @@ -797,8 +797,7 @@ int mgmtProcessAlterUserMsg(char *pMsg, int msgLen, SConnObj *pConn) { pUser->superAuth = 0; pUser->writeAuth = 0; pUser->auditAuth = 1; - } - printf("user right: s %d, w %d, a %d \r\n ",pUser->superAuth,pUser->writeAuth, pUser->auditAuth); + } code = mgmtUpdateUser(pUser); mLPrint("user:%s privilege is altered by %s, code:%d", pAlter->user, pConn->pUser->user, code); } else {