diff options
Diffstat (limited to 'sql/sp_cache.cc')
-rw-r--r-- | sql/sp_cache.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/sp_cache.cc b/sql/sp_cache.cc index b60d82c9698..a3d3174b8c1 100644 --- a/sql/sp_cache.cc +++ b/sql/sp_cache.cc @@ -181,8 +181,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() |