fix: sysinfo of dnode variables

This commit is contained in:
kailixu 2024-02-26 09:30:33 +08:00
parent e1add42485
commit 4afd45992a
2 changed files with 4 additions and 4 deletions

View File

@ -360,12 +360,12 @@ int32_t dmProcessRetrieve(SDnodeMgmt *pMgmt, SRpcMsg *pMsg) {
terrno = TSDB_CODE_INVALID_MSG;
return -1;
}
#if 0
if (strcmp(retrieveReq.user, TSDB_DEFAULT_USER) != 0) {
terrno = TSDB_CODE_MND_NO_RIGHTS;
return -1;
}
#endif
if (strcasecmp(retrieveReq.tb, TSDB_INS_TABLE_DNODE_VARIABLES)) {
terrno = TSDB_CODE_INVALID_MSG;
return -1;

View File

@ -236,7 +236,7 @@ sql show create table d2.stb2;
sql show create table d2.ctb2;
sql show create table d2.ntb2;
sql show local variables;
sql_error show dnode 1 variables;
sql show dnode 1 variables;
sql show variables;
@ -269,7 +269,7 @@ sql select * from information_schema.ins_grants_logs
sql select * from information_schema.ins_machines
sql select * from information_schema.ins_vgroups
sql select * from information_schema.ins_configs
sql_error select * from information_schema.ins_dnode_variables
sql select * from information_schema.ins_dnode_variables
print =============== check performance_schema of sysinfo 1
sql use performance_schema;