summaryrefslogtreecommitdiff
path: root/sql/sp_cache.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sp_cache.cc')
-rw-r--r--sql/sp_cache.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sp_cache.cc b/sql/sp_cache.cc
index e4ffbdcb155..04172d56166 100644
--- a/sql/sp_cache.cc
+++ b/sql/sp_cache.cc
@@ -303,7 +303,8 @@ void
sp_cache::init()
{
my_hash_init(&m_hashtable, system_charset_info, 0, 0, 0,
- hash_get_key_for_sp_head, hash_free_sp_head, 0);
+ hash_get_key_for_sp_head, hash_free_sp_head, 0,
+ key_memory_sp_cache);
}