summaryrefslogtreecommitdiff
path: root/sql/sql_class.h
diff options
context:
space:
mode:
authorcmiller@zippy.cornsilk.net <>2007-04-26 11:51:37 -0400
committercmiller@zippy.cornsilk.net <>2007-04-26 11:51:37 -0400
commitc9cbc1e7f3e2b092b4ceee1a053f98bb167e9030 (patch)
treeeb53ce8e1bbaa9420298b4d71fd9100db7d63374 /sql/sql_class.h
parent75c31f6bb9d257e3b3d19e9f4798f08af1df1158 (diff)
parentbbd8b850cd61b1326849c45153a2a0c694cb12b1 (diff)
downloadmariadb-git-c9cbc1e7f3e2b092b4ceee1a053f98bb167e9030.tar.gz
Merge mysqldev@production.mysql.com:my/mysql-5.0-release
into zippy.cornsilk.net:/home/cmiller/work/mysql/mysql-5.0-community
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r--sql/sql_class.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h
index 99803802001..173e77883a6 100644
--- a/sql/sql_class.h
+++ b/sql/sql_class.h
@@ -533,6 +533,7 @@ struct system_variables
ulong optimizer_prune_level;
ulong optimizer_search_depth;
ulong preload_buff_size;
+ ulong profiling_history_size;
ulong query_cache_type;
ulong read_buff_size;
ulong read_rnd_buff_size;
@@ -1214,6 +1215,9 @@ public:
Points to info-string that we show in SHOW PROCESSLIST
You are supposed to update thd->proc_info only if you have coded
a time-consuming piece that MySQL can get stuck in for a long time.
+
+ Set it using the thd_proc_info(THD *thread, const char *message)
+ macro/function.
*/
const char *proc_info;
@@ -1368,6 +1372,10 @@ public:
List <MYSQL_ERROR> warn_list;
uint warn_count[(uint) MYSQL_ERROR::WARN_LEVEL_END];
uint total_warn_count;
+#ifdef ENABLED_PROFILING
+ PROFILING profiling;
+#endif
+
/*
Id of current query. Statement can be reused to execute several queries
query_id is global in context of the whole MySQL server.