1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

SQL: invalidate current SP at archive substitution [closes #127]

Related to #125
This commit is contained in:
Aleksey Midenkov
2017-09-29 17:51:10 +03:00
parent 5e42511ce1
commit 9062385c20
7 changed files with 22 additions and 25 deletions

View File

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