MySQL 5.6.14 Source Code Document
|
#include <sp.h>
Public Attributes | |
MDL_request | mdl_request |
Sroutine_hash_entry * | next |
TABLE_LIST * | belong_to_view |
ulong | m_sp_cache_version |
Structure that represents element in the set of stored routines used by statement or routine.
TABLE_LIST* Sroutine_hash_entry::belong_to_view |
ulong Sroutine_hash_entry::m_sp_cache_version |
This is for prepared statement validation purposes. A statement looks up and pre-loads all its stored functions at prepare. Later on, if a function is gone from the cache, execute may fail. Remember the version of sp_head at prepare to be able to invalidate the prepared statement at execute if it changes.
MDL_request Sroutine_hash_entry::mdl_request |
Sroutine_hash_entry* Sroutine_hash_entry::next |
Next element in list linking all routines in set. See also comments for LEX::sroutine/sroutine_list and sp_head::m_sroutines.