MySQL 8.4.3
Source Code Documentation
|
#include <auth_common.h>
Public Member Functions | |
Grant_temporary_static_privileges (const THD *thd, const Access_bitmask 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 THD * | m_thd |
THD handle. More... | |
const Access_bitmask | m_privs |
Privileges. More... | |
Additional Inherited Members | |
Public Types inherited from Security_context_policy | |
enum | Operation { Precheck , Execute } |
Grant_temporary_static_privileges::Grant_temporary_static_privileges | ( | const THD * | thd, |
const Access_bitmask | privs | ||
) |
bool Grant_temporary_static_privileges::grant_privileges | ( | Security_context * | sctx | ) |
bool Grant_temporary_static_privileges::precheck | ( | Security_context * | sctx | ) |
|
private |
Privileges.
|
private |
THD handle.