-
-
Notifications
You must be signed in to change notification settings - Fork 611
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Unify sa.GetAuthorizations2 and sa.GetValidAuthorizations2 (#7663)
These two methods were already nearly identical, their only meaningful differences being the set of statuses they select for in their database query, and the condition on which they prioritize entries in their output. Update them to have the exact same structure and logic. Most meaningfully, update GetValidAuthorizations2 to hint the database to use the same index which GetAuthorizations2 already hints.
- Loading branch information
1 parent
14c0b2c
commit 4482818
Showing
1 changed file
with
36 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters