MySQL  8.0.20
Source Code Documentation
GRANT_TABLE Class Reference

#include <sql_auth_cache.h>

Inheritance diagram for GRANT_TABLE:
GRANT_NAME

Public Member Functions

 GRANT_TABLE (const char *h, const char *d, const char *u, const char *t, ulong p, ulong c)
 
 GRANT_TABLE (TABLE *form)
 
bool init (TABLE *col_privs)
 
 ~GRANT_TABLE ()
 
bool ok ()
 
- Public Member Functions inherited from GRANT_NAME
 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 ()
 
void set_user_details (const char *h, const char *d, const char *u, const char *t, bool is_routine)
 

Public Attributes

ulong cols
 
collation_unordered_multimap< std::string, unique_ptr_destroy_only< GRANT_COLUMN > > hash_columns
 
- Public Attributes inherited from GRANT_NAME
ACL_HOST_AND_IP host
 
char * db
 
const char * user
 
char * tname
 
ulong privs
 
ulong sort
 
std::string hash_key
 

Constructor & Destructor Documentation

◆ GRANT_TABLE() [1/2]

GRANT_TABLE::GRANT_TABLE ( const char *  h,
const char *  d,
const char *  u,
const char *  t,
ulong  p,
ulong  c 
)

◆ GRANT_TABLE() [2/2]

GRANT_TABLE::GRANT_TABLE ( TABLE form)
explicit

◆ ~GRANT_TABLE()

GRANT_TABLE::~GRANT_TABLE ( )

Member Function Documentation

◆ init()

bool GRANT_TABLE::init ( TABLE col_privs)

◆ ok()

bool GRANT_TABLE::ok ( )
inlinevirtual

Reimplemented from GRANT_NAME.

Member Data Documentation

◆ cols

ulong GRANT_TABLE::cols

◆ hash_columns

collation_unordered_multimap<std::string, unique_ptr_destroy_only<GRANT_COLUMN> > GRANT_TABLE::hash_columns

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