1
0
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:
unknown
2003-07-01 18:14:24 +02:00
parent 31a58c4068
commit 8070c06ae0
5 changed files with 70 additions and 73 deletions

View File

@@ -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