MySQL  8.0.19
Source Code Documentation
ACL_compare Class Reference

#include <sql_auth_cache.h>

Public Member Functions

bool operator() (const ACL_ACCESS &a, const ACL_ACCESS &b)
 Determine sort order for two user accounts. More...
 
bool operator() (const ACL_ACCESS *a, const ACL_ACCESS *b)
 Determine sort order for two user accounts. More...
 

Member Function Documentation

◆ operator()() [1/2]

bool ACL_compare::operator() ( const ACL_ACCESS a,
const ACL_ACCESS b 
)

Determine sort order for two user accounts.

Parameters
[in]aFirst user account's sort value
[in]bSecound user account's sort value
Returns
Whether a comes before b or not

◆ operator()() [2/2]

bool ACL_compare::operator() ( const ACL_ACCESS a,
const ACL_ACCESS b 
)

Determine sort order for two user accounts.

Parameters
[in]aFirst user account's sort value
[in]bSecound user account's sort value
Returns
Whether a comes before b or not

The documentation for this class was generated from the following files: