diff options
author | unknown <bell@sanja.is.com.ua> | 2003-11-03 08:47:27 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2003-11-03 08:47:27 +0200 |
commit | 22c9da4dee3f5c7b1f780aa47f1a361191e51487 (patch) | |
tree | ca329753665df8a7975955ea3305501d9dcb6ccd /sql/sql_select.h | |
parent | 5337ffde112ebc041f4048fcc3b152ca6b4d5cec (diff) | |
parent | 6d9ad5db3a9dd558ae136717acfc884683a33975 (diff) | |
download | mariadb-git-22c9da4dee3f5c7b1f780aa47f1a361191e51487.tar.gz |
Merge
mysql-test/r/subselect.result:
Auto merged
mysql-test/t/subselect.test:
Auto merged
sql/item.cc:
Auto merged
sql/item_subselect.h:
Auto merged
sql/mysql_priv.h:
Auto merged
sql/sql_lex.cc:
Auto merged
sql/sql_select.cc:
Auto merged
sql/sql_select.h:
Auto merged
sql/item_subselect.cc:
SCCS merged
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r-- | sql/sql_select.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h index cdf528060f7..24854713a0e 100644 --- a/sql/sql_select.h +++ b/sql/sql_select.h @@ -131,6 +131,7 @@ class JOIN :public Sql_alloc { public: JOIN_TAB *join_tab,**best_ref,**map2table; + JOIN_TAB *join_tab_save; //saved join_tab for subquery reexecution TABLE **table,**all_tables,*sort_by_table; uint tables,const_tables; uint send_group_parts; @@ -204,7 +205,7 @@ class JOIN :public Sql_alloc void init(THD *thd_arg, List<Item> &fields, ulong select_options_arg, select_result *result_arg) { - join_tab= 0; + join_tab= join_tab_save= 0; table= 0; tables= 0; const_tables= 0; @@ -243,7 +244,7 @@ class JOIN :public Sql_alloc zero_result_cause= 0; optimized= 0; - fields_list = fields; + fields_list= fields; bzero((char*) &keyuse,sizeof(keyuse)); tmp_table_param.copy_field=0; tmp_table_param.end_write_records= HA_POS_ERROR; @@ -280,7 +281,9 @@ class JOIN :public Sql_alloc Item_sum ***func); int rollup_send_data(uint idx); bool test_in_subselect(Item **where); + void join_free(bool full); void clear(); + bool save_join_tab(); }; |