MySQL 8.4.3
Source Code Documentation
GRANT_TABLE Class Reference

#include <sql_auth_cache.h>

Inheritance diagram for GRANT_TABLE:
[legend]

Public Member Functions

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

Public Attributes

Access_bitmask 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
 
Access_bitmask 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,
Access_bitmask  p,
Access_bitmask  c 
)

◆ GRANT_TABLE() [2/2]

GRANT_TABLE::GRANT_TABLE ( TABLE form)
explicit

◆ ~GRANT_TABLE()

GRANT_TABLE::~GRANT_TABLE ( )
overridedefault

Member Function Documentation

◆ init()

bool GRANT_TABLE::init ( TABLE col_privs)

◆ ok()

bool GRANT_TABLE::ok ( )
inlineoverridevirtual

Reimplemented from GRANT_NAME.

Member Data Documentation

◆ cols

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