mirror of
https://github.com/MariaDB/server.git
synced 2026-05-03 13:45:34 +02:00
BUG#12228: Post review fixes: Added test case, code cleanup.
mysql-test/r/sp-threads.result: Testcase for BUG#12228 mysql-test/t/sp-threads.test: Testcase for BUG#12228 sql/sp_cache.cc: BUG#12228: Post-review fixes: small code cleanup sql/sp_cache.h: BUG#12228: Post-review fixes: fixed the comment sql/sql_parse.cc: BUG#12228: Post-review fixes: in mysql_parse, flush obsolete SPs from the caches only if the query hasn't been handled by the query cache. sql/sql_prepare.cc: BUG#12228: Post-review fixes: in mysql_stmt_prepare/execute, flush SP caches "closer to the execution"
This commit is contained in:
parent
08cadd816e
commit
6b9ec78be0
6 changed files with 79 additions and 14 deletions
|
|
@ -46,7 +46,7 @@ class sp_cache;
|
|||
sp_cache_insert();
|
||||
sp_cache_invalidate();
|
||||
|
||||
2.2 When not holding any sp_head* pointers (at query end):
|
||||
2.2 When not holding any sp_head* pointers:
|
||||
sp_cache_flush_obsolete();
|
||||
|
||||
3. Before thread exit:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue