MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Stored_program_creation_ctx Class Reference

#include <sp_head.h>

Inheritance diagram for Stored_program_creation_ctx:
Collaboration diagram for Stored_program_creation_ctx:

Public Member Functions

const CHARSET_INFOget_db_cl ()
virtual
Stored_program_creation_ctx
clone (MEM_ROOT *mem_root)=0
- 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)

Protected Member Functions

 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)
virtual void change_env (THD *thd) const
- 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)
virtual Object_creation_ctxcreate_backup_ctx (THD *thd) const

Protected Attributes

const CHARSET_INFOm_db_cl
- Protected Attributes inherited from Default_object_creation_ctx
const CHARSET_INFOm_client_cs
const CHARSET_INFOm_connection_cl

Detailed Description

Stored_program_creation_ctx – base class for creation context of stored programs (stored routines, triggers, events).

Definition at line 61 of file sp_head.h.

Member Data Documentation

const CHARSET_INFO* Stored_program_creation_ctx::m_db_cl
protected

db_cl stores the value of the database collation. Both character set and collation attributes are used.

Database collation is included into the context because it defines the default collation for stored-program variables.

Definition at line 101 of file sp_head.h.


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