My Project
Public Member Functions | Public Attributes
sp_name Class Reference
Inheritance diagram for sp_name:

List of all members.

Public Member Functions

 sp_name (LEX_STRING db, LEX_STRING name, bool use_explicit_name)
 sp_name (const MDL_key *key, char *qname_buff)
void init_qname (THD *thd)

Public Attributes

LEX_STRING m_qname
bool m_explicit_name

Constructor & Destructor Documentation

sp_name::sp_name ( const MDL_key key,
char *  qname_buff 

Create temporary sp_name object from MDL key.

Create temporary sp_name object from MDL key.

The lifetime of this object is bound to the lifetime of the MDL_key. This should be fine as sp_name objects created by this constructor are mainly used for SP-cache lookups.
keyMDL key containing database and routine name.
qname_buffBuffer to be used for storing quoted routine name (should be at least 2*NAME_LEN+1+1 bytes).

Member Function Documentation

void sp_name::init_qname ( THD *  thd)

Init the qualified name from the db and name.

Member Data Documentation

Prepend the db name?

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines