My Project
|
#include <sp_head.h>
Public Member Functions | |
const CHARSET_INFO * | get_db_cl () |
virtual Stored_program_creation_ctx * | clone (MEM_ROOT *mem_root)=0 |
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 Attributes | |
const CHARSET_INFO * | m_db_cl |
Stored_program_creation_ctx -- base class for creation context of stored programs (stored routines, triggers, events).
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.