Skip to content

Commit

Permalink
test: fix unstable TestShowViewPriv (#55868)
Browse files Browse the repository at this point in the history
close #55867
  • Loading branch information
tangenta authored Sep 5, 2024
1 parent 487ef06 commit 990dbce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/executor/infoschema_reader.go
Original file line number Diff line number Diff line change
Expand Up @@ -750,7 +750,7 @@ func (e *memtableRetriever) setDataFromTables(ctx context.Context, sctx sessionc
if !ex.HasTableSchema(t.DBName.L) {
return true
}
if checker != nil && !checker.RequestVerification(sctx.GetSessionVars().ActiveRoles, t.DBName.L, t.TableName.L, "", mysql.SelectPriv) {
if checker != nil && !checker.RequestVerification(sctx.GetSessionVars().ActiveRoles, t.DBName.L, t.TableName.L, "", mysql.AllPrivMask) {
return true
}

Expand Down

0 comments on commit 990dbce

Please sign in to comment.