MySQL 5.6.14 Source Code Document
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
sp_cache Class Reference

Public Member Functions

bool insert (sp_head *sp)
sp_headlookup (char *name, uint namelen)
void remove (sp_head *sp)
void enforce_limit (ulong upper_limit_for_elements)

Detailed Description

Definition at line 29 of file sp_cache.cc.

Member Function Documentation

void sp_cache::enforce_limit ( ulong  upper_limit_for_elements)
inline

Remove all elements from a stored routine cache if the current number of elements exceeds the argument value.

Parameters
[in]upper_limit_for_elementsSoft upper limit of elements that can be stored in the cache.

Definition at line 65 of file sp_cache.cc.

bool sp_cache::insert ( sp_head sp)
inline

Inserts a sp_head object into a hash table.

Returns
Success status
TRUE Failure
FALSE Success

Definition at line 42 of file sp_cache.cc.


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