summaryrefslogtreecommitdiff
path: root/sql/sp_rcontext.h
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2005-11-23 00:58:13 +0200
committerbell@sanja.is.com.ua <>2005-11-23 00:58:13 +0200
commit7d2442a160537423178e488a32ce28b0a9c14294 (patch)
tree090d0e3fbda21d8ca03a84a74f8b011335f23efb /sql/sp_rcontext.h
parent511fbac4df223978487bee6d85f28fceaf0c4d77 (diff)
parent2bcd68973bb3ae278399a69b4642e76368edd31e (diff)
downloadmariadb-git-7d2442a160537423178e488a32ce28b0a9c14294.tar.gz
Merge sanja.is.com.ua:/home/bell/mysql/bk/work-bug2-5.0
into sanja.is.com.ua:/home/bell/mysql/bk/work-merge-5.0
Diffstat (limited to 'sql/sp_rcontext.h')
-rw-r--r--sql/sp_rcontext.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/sp_rcontext.h b/sql/sp_rcontext.h
index cae5c5467c9..d54188aa96f 100644
--- a/sql/sp_rcontext.h
+++ b/sql/sp_rcontext.h
@@ -66,6 +66,14 @@ class sp_rcontext : public Sql_alloc
*/
Query_arena *callers_arena;
+#ifndef DBUG_OFF
+ /*
+ Routine to which this Item_splocal belongs. Used for checking if correct
+ runtime context is used for variable handling.
+ */
+ sp_head *owner;
+#endif
+
sp_rcontext(sp_rcontext *prev, uint fsize, uint hmax, uint cmax);
~sp_rcontext()