![]()  | 
  
    MySQL 8.0.44
    
   Source Code Documentation 
   | 
 
Class that compares ACL_USER objects. More...
#include <sql_auth_cache.h>
Public Member Functions | |
| bool | operator() (const ACL_USER &a, const ACL_USER &b) | 
| Determine sort order of two user accounts.  More... | |
| bool | operator() (const ACL_USER *a, const ACL_USER *b) | 
Class that compares ACL_USER objects.
Determine sort order of two user accounts.
ACL_USER with IP specified is sorted before host name. Non anonymous user is sorted before anonymous user, when properties of both are equal.
| [in] | a | First object to compare. | 
| [in] | b | Second object to compare. | 
| true | First element goes first. | 
| false | Second element goes first. |