fix: fix case issues
This commit is contained in:
parent
7a17cf087a
commit
46edeec314
|
@ -238,7 +238,7 @@ static int32_t mndProcessRetrieveSysTableReq(SRpcMsg *pReq) {
|
|||
} else {
|
||||
memcpy(pReq->info.conn.user, TSDB_DEFAULT_USER, strlen(TSDB_DEFAULT_USER) + 1);
|
||||
}
|
||||
if (mndCheckShowPrivilege(pMnode, pReq->info.conn.user, pShow->type, retrieveReq.db) != 0) {
|
||||
if (retrieveReq.db[0] && mndCheckShowPrivilege(pMnode, pReq->info.conn.user, pShow->type, retrieveReq.db) != 0) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
|
|
@ -45,16 +45,16 @@ sql_error drop database db
|
|||
sql_error use db
|
||||
sql_error alter database db replica 1;
|
||||
sql_error show db.vgroups
|
||||
sql_error select * from information_schema.ins_stables where db_name = 'db'
|
||||
sql_error select * from information_schema.ins_tables where db_name = 'db'
|
||||
sql select * from information_schema.ins_stables where db_name = 'db'
|
||||
sql select * from information_schema.ins_tables where db_name = 'db'
|
||||
|
||||
print =============== check show
|
||||
sql_error select * from information_schema.ins_users
|
||||
sql select * from information_schema.ins_users
|
||||
sql_error show cluster
|
||||
sql_error select * from information_schema.ins_dnodes
|
||||
sql_error select * from information_schema.ins_mnodes
|
||||
sql select * from information_schema.ins_dnodes
|
||||
sql select * from information_schema.ins_mnodes
|
||||
sql_error show snodes
|
||||
sql_error select * from information_schema.ins_qnodes
|
||||
sql select * from information_schema.ins_qnodes
|
||||
sql_error show bnodes
|
||||
sql_error show grants
|
||||
sql_error show dnode 1 variables;
|
||||
|
|
Loading…
Reference in New Issue