summaryrefslogtreecommitdiff
path: root/sql/sp_cache.cc
diff options
context:
space:
mode:
authorAlexey Kopytov <Alexey.Kopytov@Sun.com>2010-02-22 00:33:11 +0300
committerAlexey Kopytov <Alexey.Kopytov@Sun.com>2010-02-22 00:33:11 +0300
commit0afa209018fad0a0863048cebfcc8f0a52b814ee (patch)
tree94830ebea81e944773f55fcb501055d762e3db1d /sql/sp_cache.cc
parent4b85061e09ae3ec67948f9814700f69934138e99 (diff)
parent20dfd709d6454f8cdc25262c945ad203cecafc02 (diff)
downloadmariadb-git-0afa209018fad0a0863048cebfcc8f0a52b814ee.tar.gz
Manual merge of mysql-5.1-bugteam to mysql-trunk-merge.
Diffstat (limited to 'sql/sp_cache.cc')
-rw-r--r--sql/sp_cache.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sp_cache.cc b/sql/sp_cache.cc
index 0da5e44b846..046ff931253 100644
--- a/sql/sp_cache.cc
+++ b/sql/sp_cache.cc
@@ -176,8 +176,9 @@ sp_head *sp_cache_lookup(sp_cache **cp, sp_name *name)
sp_cache_invalidate()
NOTE
- This is called when a VIEW definition is modifed. We can't destroy sp_head
- objects here as one may modify VIEW definitions from prelocking-free SPs.
+ This is called when a VIEW definition is created or modified (and in some
+ other contexts). We can't destroy sp_head objects here as one may modify
+ VIEW definitions from prelocking-free SPs.
*/
void sp_cache_invalidate()