user sysinfo
This commit is contained in:
parent
d4ef374108
commit
a38a69557a
|
@ -349,6 +349,8 @@ static int32_t authQuery(SAuthCxt* pCxt, SNode* pStmt) {
|
|||
case QUERY_NODE_SHOW_TABLE_DISTRIBUTED_STMT:
|
||||
case QUERY_NODE_SHOW_VNODES_STMT:
|
||||
case QUERY_NODE_SHOW_SCORES_STMT:
|
||||
case QUERY_NODE_SHOW_USERS_STMT:
|
||||
case QUERY_NODE_SHOW_USER_PRIVILEGES_STMT:
|
||||
case QUERY_NODE_SHOW_GRANTS_FULL_STMT:
|
||||
case QUERY_NODE_SHOW_GRANTS_LOGS_STMT:
|
||||
case QUERY_NODE_SHOW_CLUSTER_MACHINES_STMT:
|
||||
|
|
|
@ -399,6 +399,7 @@ static int32_t getViewMetaImpl(SParseContext* pParCxt, SParseMetaCache* pMetaCac
|
|||
|
||||
int32_t getTargetMetaImpl(SParseContext* pParCxt, SParseMetaCache* pMetaCache, const SName* pName, STableMeta** pMeta, bool couldBeView) {
|
||||
int32_t code = TSDB_CODE_SUCCESS;
|
||||
|
||||
if (pParCxt->async) {
|
||||
code = getTableMetaFromCache(pMetaCache, pName, pMeta);
|
||||
#ifdef TD_ENTERPRISE
|
||||
|
|
|
@ -101,6 +101,7 @@ sql select * from d2.ntb2
|
|||
|
||||
print =============== check show
|
||||
sql_error show users
|
||||
sql_error show user privileges
|
||||
sql_error show cluster
|
||||
sql_error select * from information_schema.ins_dnodes
|
||||
sql_error select * from information_schema.ins_mnodes
|
||||
|
@ -158,7 +159,7 @@ sql_error select * from information_schema.ins_modules
|
|||
sql_error select * from information_schema.ins_qnodes
|
||||
sql_error select * from information_schema.ins_cluster
|
||||
sql_error select * from information_schema.ins_users
|
||||
sql_error select * from information_schema.ins_user_privilege
|
||||
sql_error select * from information_schema.ins_user_privileges
|
||||
sql select * from information_schema.ins_databases
|
||||
sql select * from information_schema.ins_functions
|
||||
sql select * from information_schema.ins_indexes
|
||||
|
|
Loading…
Reference in New Issue