MySQL  8.0.18
Source Code Documentation
Object_creation_ctx Class Referenceabstract


Object_creation_ctx – interface for creation context of database objects (views, stored routines, events, triggers). More...

#include <table.h>

Inheritance diagram for Object_creation_ctx:
Default_object_creation_ctx Stored_program_creation_ctx View_creation_ctx Event_creation_ctx Stored_routine_creation_ctx Trigger_creation_ctx

Public Member Functions

Object_creation_ctxset_n_backup (THD *thd)
 
void restore_env (THD *thd, Object_creation_ctx *backup_ctx)
 
virtual ~Object_creation_ctx ()
 

Protected Member Functions

 Object_creation_ctx ()
 
virtual Object_creation_ctxcreate_backup_ctx (THD *thd) const =0
 
virtual void delete_backup_ctx ()=0
 
virtual void change_env (THD *thd) const =0
 

Detailed Description


Object_creation_ctx – interface for creation context of database objects (views, stored routines, events, triggers).

Creation context – is a set of attributes, that should be fixed at the creation time and then be used each time the object is parsed or executed.

Constructor & Destructor Documentation

◆ Object_creation_ctx()

Object_creation_ctx::Object_creation_ctx ( )
inlineprotected

◆ ~Object_creation_ctx()

virtual Object_creation_ctx::~Object_creation_ctx ( )
inlinevirtual

Member Function Documentation

◆ change_env()

virtual void Object_creation_ctx::change_env ( THD thd) const
protectedpure virtual

◆ create_backup_ctx()

virtual Object_creation_ctx* Object_creation_ctx::create_backup_ctx ( THD thd) const
protectedpure virtual

◆ delete_backup_ctx()

virtual void Object_creation_ctx::delete_backup_ctx ( )
protectedpure virtual

◆ restore_env()

void Object_creation_ctx::restore_env ( THD thd,
Object_creation_ctx backup_ctx 
)

◆ set_n_backup()

Object_creation_ctx * Object_creation_ctx::set_n_backup ( THD thd)

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