diff options
author | Aleksey Midenkov <midenok@gmail.com> | 2017-09-29 17:51:10 +0300 |
---|---|---|
committer | Aleksey Midenkov <midenok@gmail.com> | 2017-09-29 17:52:07 +0300 |
commit | 9062385c20b62a7231b256f3f7af44ea9b1f5ad9 (patch) | |
tree | ef3dbec0b5543230b352955107fbb59ac4650396 /sql/sp_cache.cc | |
parent | 5e42511ce169d6883499d00072c309647f303aee (diff) | |
download | mariadb-git-9062385c20b62a7231b256f3f7af44ea9b1f5ad9.tar.gz |
SQL: invalidate current SP at archive substitution [closes #127]
Related to #125
Diffstat (limited to 'sql/sp_cache.cc')
-rw-r--r-- | sql/sp_cache.cc | 4 |
1 files changed, 4 insertions, 0 deletions
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. |