From 9062385c20b62a7231b256f3f7af44ea9b1f5ad9 Mon Sep 17 00:00:00 2001 From: Aleksey Midenkov Date: Fri, 29 Sep 2017 17:51:10 +0300 Subject: SQL: invalidate current SP at archive substitution [closes #127] Related to #125 --- sql/sp_cache.cc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sql/sp_cache.cc') diff --git a/sql/sp_cache.cc b/sql/sp_cache.cc index b80cde335db..634a084d1fb 100644 --- a/sql/sp_cache.cc +++ b/sql/sp_cache.cc @@ -238,6 +238,10 @@ void sp_cache_flush_obsolete(sp_cache **cp, sp_head **sp) } } +void sp_cache_flush(sp_cache *cp, sp_head *sp) +{ + cp->remove(sp); +} /** Return the current global version of the cache. -- cgit v1.2.1