summaryrefslogtreecommitdiff
path: root/sql/sql_select.h
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2015-03-24 16:26:42 +0300
committerSergei Petrunia <psergey@askmonty.org>2015-03-24 16:26:42 +0300
commit4106dfe89b772a78dfc39b79082dd08158cf91ad (patch)
treee767156672e96c780529bca99e6341da282e6d84 /sql/sql_select.h
parentec68494beb151bc01ff6885476d2d4aeab3fe345 (diff)
parent77e16ce7d65793451c640014b342d23a28fc1060 (diff)
downloadmariadb-git-4106dfe89b772a78dfc39b79082dd08158cf91ad.tar.gz
Merge branch 'bb-10.1-explain-analyze' into 10.1
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r--sql/sql_select.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h
index dcfb6778ccc..0557e328ea0 100644
--- a/sql/sql_select.h
+++ b/sql/sql_select.h
@@ -252,6 +252,7 @@ typedef struct st_join_table {
enum explain_extra_tag info;
Table_access_tracker *tracker;
+
Table_access_tracker *jbuf_tracker;
/*
Bitmap of TAB_INFO_* bits that encodes special line for EXPLAIN 'Extra'
@@ -1260,6 +1261,8 @@ public:
OPTIMIZATION_DONE=2};
bool optimized; ///< flag to avoid double optimization in EXPLAIN
bool initialized; ///< flag to avoid double init_execution calls
+
+ Exec_time_tracker *tracker;
enum { QEP_NOT_PRESENT_YET, QEP_AVAILABLE, QEP_DELETED} have_query_plan;
@@ -1354,6 +1357,8 @@ public:
no_rows_in_result_called= 0;
positions= best_positions= 0;
+ tracker= NULL;
+
all_fields= fields_arg;
if (&fields_list != &fields_arg) /* Avoid valgrind-warning */
fields_list= fields_arg;