summaryrefslogtreecommitdiff
path: root/sql/sql_select.h
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2003-10-31 22:14:49 +0200
committerbell@sanja.is.com.ua <>2003-10-31 22:14:49 +0200
commit0747324edef93a955b9f337a188a6d7e377c4fe0 (patch)
tree2c6fd809f0c5f377f0c9be63a16c38f0853a56cf /sql/sql_select.h
parentd1bfa5c598ee3af9288ca496c90ca01c15ebfe24 (diff)
parent101a9f0180b39f27fb76b59a162f8dec09917cc5 (diff)
downloadmariadb-git-0747324edef93a955b9f337a188a6d7e377c4fe0.tar.gz
merge
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r--sql/sql_select.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h
index 7306f609f66..cdf528060f7 100644
--- a/sql/sql_select.h
+++ b/sql/sql_select.h
@@ -151,7 +151,8 @@ class JOIN :public Sql_alloc
Item_sum **sum_funcs2, ***sum_funcs_end2;
Procedure *procedure;
Item *having;
- Item *tmp_having; // To store Having when processed temporary table
+ Item *tmp_having; // To store having when processed temporary table
+ Item *having_history; // Store having for explain
uint select_options;
select_result *result;
TMP_TABLE_PARAM tmp_table_param;
@@ -181,6 +182,7 @@ class JOIN :public Sql_alloc
ORDER *order, *group_list, *proc_param; //hold parameters of mysql_select
COND *conds; // ---"---
+ Item *conds_history; // store WHERE for explain
TABLE_LIST *tables_list; //hold 'tables' parameter of mysql_selec
SQL_SELECT *select; //created in optimisation phase
Item **ref_pointer_array; //used pointer reference for this select
@@ -217,8 +219,7 @@ class JOIN :public Sql_alloc
thd= thd_arg;
sum_funcs= sum_funcs2= 0;
procedure= 0;
- having= 0;
- tmp_having= 0;
+ having= tmp_having= having_history= 0;
select_options= select_options_arg;
result= result_arg;
lock= thd_arg->lock;