mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
SP cache (WL#730). (Mostly by vva, additions by pem.)
sql/sp.cc: In-memory cache added. sp_clear_function_cache() no longer needed. sql/sp.h: In-memory cache added. sp_clear_function_cache() no longer needed. sql/sql_class.cc: In-memory cache added. sql/sql_class.h: In-memory cache added. sql/sql_parse.cc: In-memory cache added. sp_clear_function_cache() no longer needed. Don't delete sp_heads after each use.
This commit is contained in:
@@ -551,7 +551,7 @@ public:
|
||||
bool prepare_command;
|
||||
bool tmp_table_used;
|
||||
sp_rcontext *spcont; // SP runtime context
|
||||
List<sp_head> spfuns; // SP FUNCTIONs
|
||||
HASH sp_hash[2]; // hash for SP PROCEDURES and FUNCTIONS
|
||||
|
||||
/*
|
||||
If we do a purge of binary logs, log index info of the threads
|
||||
|
||||
Reference in New Issue
Block a user