fix: sysinfo of dnode variables
This commit is contained in:
parent
e1add42485
commit
4afd45992a
|
@ -360,12 +360,12 @@ int32_t dmProcessRetrieve(SDnodeMgmt *pMgmt, SRpcMsg *pMsg) {
|
||||||
terrno = TSDB_CODE_INVALID_MSG;
|
terrno = TSDB_CODE_INVALID_MSG;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
#if 0
|
||||||
if (strcmp(retrieveReq.user, TSDB_DEFAULT_USER) != 0) {
|
if (strcmp(retrieveReq.user, TSDB_DEFAULT_USER) != 0) {
|
||||||
terrno = TSDB_CODE_MND_NO_RIGHTS;
|
terrno = TSDB_CODE_MND_NO_RIGHTS;
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
if (strcasecmp(retrieveReq.tb, TSDB_INS_TABLE_DNODE_VARIABLES)) {
|
if (strcasecmp(retrieveReq.tb, TSDB_INS_TABLE_DNODE_VARIABLES)) {
|
||||||
terrno = TSDB_CODE_INVALID_MSG;
|
terrno = TSDB_CODE_INVALID_MSG;
|
||||||
return -1;
|
return -1;
|
||||||
|
|
|
@ -236,7 +236,7 @@ sql show create table d2.stb2;
|
||||||
sql show create table d2.ctb2;
|
sql show create table d2.ctb2;
|
||||||
sql show create table d2.ntb2;
|
sql show create table d2.ntb2;
|
||||||
sql show local variables;
|
sql show local variables;
|
||||||
sql_error show dnode 1 variables;
|
sql show dnode 1 variables;
|
||||||
sql show 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_machines
|
||||||
sql select * from information_schema.ins_vgroups
|
sql select * from information_schema.ins_vgroups
|
||||||
sql select * from information_schema.ins_configs
|
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
|
print =============== check performance_schema of sysinfo 1
|
||||||
sql use performance_schema;
|
sql use performance_schema;
|
||||||
|
|
Loading…
Reference in New Issue