MySQL  8.0.19
Source Code Documentation
Stored_routine_creation_ctx Class Reference

Stored_routine_creation_ctx – creation context of stored routines (stored procedures and functions). More...

#include <sp.h>

Inheritance diagram for Stored_routine_creation_ctx:
Stored_program_creation_ctx Default_object_creation_ctx Object_creation_ctx

Public Member Functions

Stored_program_creation_ctxclone (MEM_ROOT *mem_root) override
 
- Public Member Functions inherited from Stored_program_creation_ctx
const CHARSET_INFOget_db_cl ()
 
- Public Member Functions inherited from Default_object_creation_ctx
const CHARSET_INFOget_client_cs ()
 
const CHARSET_INFOget_connection_cl ()
 
- Public Member Functions inherited from Object_creation_ctx
Object_creation_ctxset_n_backup (THD *thd)
 
void restore_env (THD *thd, Object_creation_ctx *backup_ctx)
 
virtual ~Object_creation_ctx ()
 

Static Public Member Functions

static Stored_routine_creation_ctxcreate_routine_creation_ctx (const dd::Routine *routine)
 
static Stored_routine_creation_ctxload_from_db (THD *thd, const sp_name *name, TABLE *proc_tbl)
 

Protected Member Functions

Object_creation_ctxcreate_backup_ctx (THD *thd) const override
 
void delete_backup_ctx () override
 
- Protected Member Functions inherited from Stored_program_creation_ctx
 Stored_program_creation_ctx (THD *thd)
 
 Stored_program_creation_ctx (const CHARSET_INFO *client_cs, const CHARSET_INFO *connection_cl, const CHARSET_INFO *db_cl)
 
void change_env (THD *thd) const override
 
- Protected Member Functions inherited from Default_object_creation_ctx
 Default_object_creation_ctx (THD *thd)
 
 Default_object_creation_ctx (const CHARSET_INFO *client_cs, const CHARSET_INFO *connection_cl)
 
- Protected Member Functions inherited from Object_creation_ctx
 Object_creation_ctx ()
 

Private Member Functions

 Stored_routine_creation_ctx (THD *thd)
 
 Stored_routine_creation_ctx (const CHARSET_INFO *client_cs, const CHARSET_INFO *connection_cl, const CHARSET_INFO *db_cl)
 

Additional Inherited Members

- Protected Attributes inherited from Stored_program_creation_ctx
const CHARSET_INFOm_db_cl
 db_cl stores the value of the database collation. More...
 
- Protected Attributes inherited from Default_object_creation_ctx
const CHARSET_INFOm_client_cs
 client_cs stores the value of character_set_client session variable. More...
 
const CHARSET_INFOm_connection_cl
 connection_cl stores the value of collation_connection session variable. More...
 

Detailed Description

Stored_routine_creation_ctx – creation context of stored routines (stored procedures and functions).

Constructor & Destructor Documentation

◆ Stored_routine_creation_ctx() [1/2]

Stored_routine_creation_ctx::Stored_routine_creation_ctx ( THD thd)
inlineexplicitprivate

◆ Stored_routine_creation_ctx() [2/2]

Stored_routine_creation_ctx::Stored_routine_creation_ctx ( const CHARSET_INFO client_cs,
const CHARSET_INFO connection_cl,
const CHARSET_INFO db_cl 
)
inlineprivate

Member Function Documentation

◆ clone()

Stored_program_creation_ctx * Stored_routine_creation_ctx::clone ( MEM_ROOT mem_root)
overridevirtual

◆ create_backup_ctx()

Object_creation_ctx * Stored_routine_creation_ctx::create_backup_ctx ( THD thd) const
overrideprotectedvirtual

Reimplemented from Default_object_creation_ctx.

◆ create_routine_creation_ctx()

Stored_routine_creation_ctx * Stored_routine_creation_ctx::create_routine_creation_ctx ( const dd::Routine routine)
static

◆ delete_backup_ctx()

void Stored_routine_creation_ctx::delete_backup_ctx ( )
overrideprotectedvirtual

Reimplemented from Default_object_creation_ctx.

◆ load_from_db()

Stored_routine_creation_ctx * Stored_routine_creation_ctx::load_from_db ( THD thd,
const sp_name name,
TABLE proc_tbl 
)
static

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