#include <sp_head.h>
◆ sp_name() [1/2]
◆ sp_name() [2/2]
Create temporary sp_name object for Sroutine_hash_entry.
- Note
- The lifetime of this object is bound to the lifetime of the Sroutine_hash_entry object. This should be fine as sp_name objects created by this constructor are mainly used for SP-cache lookups.
-
Stored routine names are case insensitive. So for the proper key comparison, routine name is converted to the lower case while creating Sroutine_hash_entry. Hence the instance of sp_name created from it has the routine name in lower case. Since instances created by this constructor are mainly used for SP-cache lookups, routine name in lower case should work fine.
- Parameters
-
rt | Sroutine_hash_entry with key containing database and routine name. |
qname_buff | Buffer to be used for storing quoted routine name (should be at least 2*NAME_LEN+1+1 bytes). |
◆ init_qname()
void sp_name::init_qname |
( |
THD * |
thd | ) |
|
Init the qualified name from the db and name.
◆ m_db
◆ m_explicit_name
bool sp_name::m_explicit_name |
◆ m_name
◆ m_qname
The documentation for this class was generated from the following files: