MySQL 9.1.0
Source Code Documentation
|
#include "storing_auto_thd.h"
Functions | |
THD * | create_internal_thd_ctx (Sctx_ptr< Security_context > &ctx) |
Wrapper of create_internal_thd() function, creating a temporary THD with the following differences compared to original code: More... | |
void | destroy_internal_thd_ctx (THD *thd, Sctx_ptr< Security_context > &ctx) |
Wrapper of destroy_internal_thd() function, safely destroying a temporary THD and its associated security context smart pointer. More... | |
THD * create_internal_thd_ctx | ( | Sctx_ptr< Security_context > & | ctx | ) |
Wrapper of create_internal_thd() function, creating a temporary THD with the following differences compared to original code:
ctx | Security context smart pointer to be assigned. |
THD | object created |
void destroy_internal_thd_ctx | ( | THD * | thd, |
Sctx_ptr< Security_context > & | ctx | ||
) |
Wrapper of destroy_internal_thd() function, safely destroying a temporary THD and its associated security context smart pointer.
thd | Pointer to THD object to be destroyed. |
ctx | Security context smart pointer to be cleared. |