MySQL 8.0.32
Source Code Documentation
Grant_temporary_static_privileges Class Reference

#include <auth_common.h>

Inheritance diagram for Grant_temporary_static_privileges:

Public Member Functions

 Grant_temporary_static_privileges (const THD *thd, const ulong privs)
bool precheck (Security_context *sctx)
bool grant_privileges (Security_context *sctx)
- Public Member Functions inherited from Grant_privileges< Grant_temporary_static_privileges >
bool operator() (Security_context *sctx, Operation op) override
- Public Member Functions inherited from Security_context_policy
 Security_context_policy ()=default
virtual ~Security_context_policy ()=default
 Security_context_policy (const Security_context_policy &)=default

Private Attributes

const THDm_thd
 THD handle. More...
const ulong m_privs
 Privileges. More...

Additional Inherited Members

- Public Types inherited from Security_context_policy
enum  Operation { Precheck , Execute }

Constructor & Destructor Documentation

◆ Grant_temporary_static_privileges()

Grant_temporary_static_privileges::Grant_temporary_static_privileges ( const THD thd,
const ulong  privs 

Member Function Documentation

◆ grant_privileges()

bool Grant_temporary_static_privileges::grant_privileges ( Security_context sctx)

◆ precheck()

bool Grant_temporary_static_privileges::precheck ( Security_context sctx)

Member Data Documentation

◆ m_privs

const ulong Grant_temporary_static_privileges::m_privs


◆ m_thd

const THD* Grant_temporary_static_privileges::m_thd

THD handle.

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