MySQL  8.0.19
Source Code Documentation
GRANT_NAME Class Reference

#include <sql_auth_cache.h>

Inheritance diagram for GRANT_NAME:
GRANT_TABLE

Public Member Functions

 GRANT_NAME (const char *h, const char *d, const char *u, const char *t, ulong p, bool is_routine)
 
 GRANT_NAME (TABLE *form, bool is_routine)
 
virtual ~GRANT_NAME ()
 
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
 
ulong 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,
ulong  p,
bool  is_routine 
)

◆ GRANT_NAME() [2/2]

GRANT_NAME::GRANT_NAME ( TABLE form,
bool  is_routine 
)

◆ ~GRANT_NAME()

virtual GRANT_NAME::~GRANT_NAME ( )
inlinevirtual

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

ulong 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: