My Project
Public Attributes
Sroutine_hash_entry Class Reference

#include <sp.h>

List of all members.

Public Attributes

MDL_request mdl_request
ulong m_sp_cache_version

Detailed Description

Structure that represents element in the set of stored routines used by statement or routine.

Member Data Documentation

Uppermost view which directly or indirectly uses this routine. 0 if routine is not used in view. Note that it also can be 0 if statement uses routine both via view and directly.

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.

Metadata lock request for routine. MDL_key in this request is also used as a key for set.

Next element in list linking all routines in set. See also comments for LEX::sroutine/sroutine_list and sp_head::m_sroutines.

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