MySQL 8.4.2
Source Code Documentation
|
Class that compares ACL_ACCESS objects. More...
#include <sql_auth_cache.h>
Public Member Functions | |
bool | operator() (const ACL_ACCESS &a, const ACL_ACCESS &b) |
Determine sort order of two user accounts. More... | |
bool | operator() (const ACL_ACCESS *a, const ACL_ACCESS *b) |
Class that compares ACL_ACCESS objects.
Used in std::sort functions.
bool ACL_compare::operator() | ( | const ACL_ACCESS & | a, |
const ACL_ACCESS & | b | ||
) |
Determine sort order of two user accounts.
ACL_ACCESS with IP specified is sorted before host name.
[in] | a | First object to compare. |
[in] | b | Second object to compare. |
true | First element goes first. |
false | Second element goes first. |
bool ACL_compare::operator() | ( | const ACL_ACCESS * | a, |
const ACL_ACCESS * | b | ||
) |