MySQL 8.0.40
Source Code Documentation
GRANT_NAME Class Reference

#include <sql_auth_cache.h>

Inheritance diagram for GRANT_NAME:
[legend]

Public Member Functions

 GRANT_NAME (const char *h, const char *d, const char *u, const char *t, Access_bitmask p, bool is_routine)
 
 GRANT_NAME (TABLE *form, bool is_routine)
 
virtual ~GRANT_NAME ()=default
 
virtual bool ok ()
 
void set_user_details (const char *h, const char *d, const char *u, const char *t, bool is_routine)
 

Public Attributes

ACL_HOST_AND_IP host
 
char * db
 
const char * user
 
char * tname
 
Access_bitmask privs
 
ulong sort
 
std::string hash_key
 

Constructor & Destructor Documentation

◆ GRANT_NAME() [1/2]

GRANT_NAME::GRANT_NAME ( const char *  h,
const char *  d,
const char *  u,
const char *  t,
Access_bitmask  p,
bool  is_routine 
)

◆ GRANT_NAME() [2/2]

GRANT_NAME::GRANT_NAME ( TABLE form,
bool  is_routine 
)

◆ ~GRANT_NAME()

virtual GRANT_NAME::~GRANT_NAME ( )
virtualdefault

Member Function Documentation

◆ ok()

virtual bool GRANT_NAME::ok ( )
inlinevirtual

Reimplemented in GRANT_TABLE.

◆ set_user_details()

void GRANT_NAME::set_user_details ( const char *  h,
const char *  d,
const char *  u,
const char *  t,
bool  is_routine 
)

Member Data Documentation

◆ db

char* GRANT_NAME::db

◆ hash_key

std::string GRANT_NAME::hash_key

◆ host

ACL_HOST_AND_IP GRANT_NAME::host

◆ privs

Access_bitmask GRANT_NAME::privs

◆ sort

ulong GRANT_NAME::sort

◆ tname

char* GRANT_NAME::tname

◆ user

const char* GRANT_NAME::user

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