summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorigor@rurik.mysql.com <>2005-11-22 23:00:57 -0800
committerigor@rurik.mysql.com <>2005-11-22 23:00:57 -0800
commit7b1b69a6e7aa7cf81f28d53330504aed47e2bbaf (patch)
treef8ae80abeb1f01b0ecf98787da39162a6013417a /sql/sql_class.h
parenta0744fba27a5a67c516599542357d92ebe73c4c9 (diff)
parent83d692da888281576b7f7dd4fee1faa5be7eff68 (diff)
downloadmariadb-git-7b1b69a6e7aa7cf81f28d53330504aed47e2bbaf.tar.gz
Merge rurik.mysql.com:/home/igor/mysql-5.0
into rurik.mysql.com:/home/igor/dev/mysql-5.0-2
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 8d6207de5ca..3066f59b9cd 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -530,6 +530,7 @@ struct system_variables
ulong completion_type;
/* Determines which non-standard SQL behaviour should be enabled */
ulong sql_mode;
+ ulong max_sp_recursion_depth;
/* check of key presence in updatable view */
ulong updatable_views_with_limit;
ulong default_week_format;
@@ -1078,6 +1079,7 @@ public:
uint in_sub_stmt;
bool enable_slow_log, insert_id_used;
my_bool no_send_ok;
+ SAVEPOINT *savepoints;
};
@@ -2071,6 +2073,13 @@ public:
class my_var : public Sql_alloc {
public:
LEX_STRING s;
+#ifndef DEBUG_OFF
+ /*
+ Routine to which this Item_splocal belongs. Used for checking if correct
+ runtime context is used for variable handling.
+ */
+ sp_head *owner;
+#endif
bool local;
uint offset;
enum_field_types type;