提交 dc87eda7 编写于 作者: L lihui

[TBASE-1486]

上级 97b6f96f
...@@ -861,11 +861,15 @@ void setAlterUserSQL(SSqlInfo *pInfo, int16_t type, SSQLToken *pName, SSQLToken* ...@@ -861,11 +861,15 @@ void setAlterUserSQL(SSqlInfo *pInfo, int16_t type, SSQLToken *pName, SSQLToken*
if (pPwd != NULL) { if (pPwd != NULL) {
pUser->passwd = *pPwd; pUser->passwd = *pPwd;
// pUser->hasPasswd = true; // pUser->hasPasswd = true;
} else {
pUser->passwd.type = TSDB_DATA_TYPE_NULL;
} }
if (pPrivilege != NULL) { if (pPrivilege != NULL) {
pUser->privilege = *pPrivilege; pUser->privilege = *pPrivilege;
// pUser->hasPrivilege = true; // pUser->hasPrivilege = true;
} else {
pUser->privilege.type = TSDB_DATA_TYPE_NULL;
} }
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册