MySQL  8.0.19
Source Code Documentation
Acl_map Class Reference

Container for global, schema, table/view and routine ACL maps. More...

#include <sql_auth_cache.h>

Public Member Functions

 Acl_map (Security_context *sctx, uint64 ver)
 
 Acl_map (const Acl_map &map)=delete
 
 Acl_map (const Acl_map &&map)
 
 ~Acl_map ()
 
void * operator new (size_t size)
 
void operator delete (void *p)
 
Acl_mapoperator= (Acl_map &&map)
 
void increase_reference_count ()
 
void decrease_reference_count ()
 
ulong global_acl ()
 
Db_access_mapdb_acls ()
 
Db_access_mapdb_wild_acls ()
 
Table_access_maptable_acls ()
 
SP_access_mapsp_acls ()
 
SP_access_mapfunc_acls ()
 
Grant_acl_setgrant_acls ()
 
Dynamic_privilegesdynamic_privileges ()
 
Restrictionsrestrictions ()
 
uint64 version ()
 
uint32 reference_count ()
 

Private Member Functions

Acl_mapoperator= (const Acl_map &map)
 

Private Attributes

std::atomic< int32m_reference_count
 
uint64 m_version
 
Db_access_map m_db_acls
 
Db_access_map m_db_wild_acls
 
Table_access_map m_table_acls
 
ulong m_global_acl
 
SP_access_map m_sp_acls
 
SP_access_map m_func_acls
 
Grant_acl_set m_with_admin_acls
 
Dynamic_privileges m_dynamic_privileges
 
Restrictions m_restrictions
 

Detailed Description

Container for global, schema, table/view and routine ACL maps.

Constructor & Destructor Documentation

◆ Acl_map() [1/3]

Acl_map::Acl_map ( Security_context sctx,
uint64  ver 
)

◆ Acl_map() [2/3]

Acl_map::Acl_map ( const Acl_map map)
delete

◆ Acl_map() [3/3]

Acl_map::Acl_map ( const Acl_map &&  map)

◆ ~Acl_map()

Acl_map::~Acl_map ( )

Member Function Documentation

◆ db_acls()

Db_access_map * Acl_map::db_acls ( )

◆ db_wild_acls()

Db_access_map * Acl_map::db_wild_acls ( )

◆ decrease_reference_count()

void Acl_map::decrease_reference_count ( )

◆ dynamic_privileges()

Dynamic_privileges * Acl_map::dynamic_privileges ( )

◆ func_acls()

SP_access_map * Acl_map::func_acls ( )

◆ global_acl()

ulong Acl_map::global_acl ( )

◆ grant_acls()

Grant_acl_set * Acl_map::grant_acls ( )

◆ increase_reference_count()

void Acl_map::increase_reference_count ( )

◆ operator delete()

void Acl_map::operator delete ( void *  p)

◆ operator new()

void * Acl_map::operator new ( size_t  size)

◆ operator=() [1/2]

Acl_map & Acl_map::operator= ( Acl_map &&  map)

◆ operator=() [2/2]

Acl_map & Acl_map::operator= ( const Acl_map map)
private

◆ reference_count()

uint32 Acl_map::reference_count ( )
inline

◆ restrictions()

Restrictions & Acl_map::restrictions ( )

◆ sp_acls()

SP_access_map * Acl_map::sp_acls ( )

◆ table_acls()

Table_access_map * Acl_map::table_acls ( )

◆ version()

uint64 Acl_map::version ( )
inline

Member Data Documentation

◆ m_db_acls

Db_access_map Acl_map::m_db_acls
private

◆ m_db_wild_acls

Db_access_map Acl_map::m_db_wild_acls
private

◆ m_dynamic_privileges

Dynamic_privileges Acl_map::m_dynamic_privileges
private

◆ m_func_acls

SP_access_map Acl_map::m_func_acls
private

◆ m_global_acl

ulong Acl_map::m_global_acl
private

◆ m_reference_count

std::atomic<int32> Acl_map::m_reference_count
private

◆ m_restrictions

Restrictions Acl_map::m_restrictions
private

◆ m_sp_acls

SP_access_map Acl_map::m_sp_acls
private

◆ m_table_acls

Table_access_map Acl_map::m_table_acls
private

◆ m_version

uint64 Acl_map::m_version
private

◆ m_with_admin_acls

Grant_acl_set Acl_map::m_with_admin_acls
private

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