summaryrefslogtreecommitdiff
path: root/sql/sp_cache.h
diff options
context:
space:
mode:
authorsergefp@mysql.com <>2005-08-03 03:37:32 +0000
committersergefp@mysql.com <>2005-08-03 03:37:32 +0000
commitb6a6fe0849a3cba46c4ed6446612bfdb29d162ba (patch)
treeab04bd1a5e1f34ad54866fd6df3fab3dfb0ae2e2 /sql/sp_cache.h
parentde02193bddedd55364f6d9e7c29c240a2dddb52b (diff)
downloadmariadb-git-b6a6fe0849a3cba46c4ed6446612bfdb29d162ba.tar.gz
Prelocking-free SPs, post-review fixes:
* Don't activate prelocking mode for evaluating procedure arguments when it is not necessary. * Code structure simplification and cleanup. * Cleanup in .test files
Diffstat (limited to 'sql/sp_cache.h')
-rw-r--r--sql/sp_cache.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/sp_cache.h b/sql/sp_cache.h
index 5873c763289..1ea71160a3a 100644
--- a/sql/sp_cache.h
+++ b/sql/sp_cache.h
@@ -25,7 +25,8 @@
/*
Stored procedures/functions cache. This is used as follows:
* Each thread has its own cache.
- * When SP is used it is always in some thread's cache.
+ * Each sp_head object is put into its thread cache after creation and is
+ removed from there on its deletion.
*/
class sp_head;