提交 2a887dc5 编写于 作者: X Xiaoyu Wang

merge main

上级 4c04b155
...@@ -1400,10 +1400,10 @@ int32_t ctgChkSetAuthRes(SCatalog* pCtg, SCtgAuthReq* req, SCtgAuthRsp* res) { ...@@ -1400,10 +1400,10 @@ int32_t ctgChkSetAuthRes(SCatalog* pCtg, SCtgAuthReq* req, SCtgAuthRsp* res) {
pRes->pass = false; pRes->pass = false;
pRes->pCond = NULL; pRes->pCond = NULL;
if (!pInfo->enable) { // if (!pInfo->enable) {
pRes->pass = false; // pRes->pass = false;
return TSDB_CODE_SUCCESS; // return TSDB_CODE_SUCCESS;
} // }
if (pInfo->superAuth) { if (pInfo->superAuth) {
pRes->pass = true; pRes->pass = true;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册