summaryrefslogtreecommitdiff
path: root/sql/sql_select.h
diff options
context:
space:
mode:
authorunknown <konstantin@mysql.com>2006-02-23 16:21:43 +0300
committerunknown <konstantin@mysql.com>2006-02-23 16:21:43 +0300
commit86f1f1bcc7bbd8484eab810fc63789d4e95153f7 (patch)
tree7280ea209dfa3416b94fd42eb10df9c5203b0715 /sql/sql_select.h
parent95444d9deca4bb5e6343adf82c225a7ea2bdf763 (diff)
downloadmariadb-git-86f1f1bcc7bbd8484eab810fc63789d4e95153f7.tar.gz
Cleanup.
sql/sql_base.cc: Cleanup, remove a warning. sql/sql_select.h: Cleanup: remove a warning.
Diffstat (limited to 'sql/sql_select.h')
-rw-r--r--sql/sql_select.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h
index 9046398faaf..95a71142426 100644
--- a/sql/sql_select.h
+++ b/sql/sql_select.h
@@ -174,7 +174,9 @@ typedef struct st_rollup
class JOIN :public Sql_alloc
{
- public:
+ JOIN(const JOIN &rhs); /* not implemented */
+ JOIN& operator=(const JOIN &rhs); /* not implemented */
+public:
JOIN_TAB *join_tab,**best_ref;
JOIN_TAB **map2table; // mapping between table indexes and JOIN_TABs
JOIN_TAB *join_tab_save; // saved join_tab for subquery reexecution
@@ -286,12 +288,6 @@ class JOIN :public Sql_alloc
init(thd_arg, fields_arg, select_options_arg, result_arg);
}
- JOIN(JOIN &join)
- :fields_list(join.fields_list)
- {
- init(join.thd, join.fields_list, join.select_options,
- join.result);
- }
void init(THD *thd_arg, List<Item> &fields_arg, ulonglong select_options_arg,
select_result *result_arg)