summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
Diffstat (limited to 'sql')
-rw-r--r--sql/sql_select.cc2
-rw-r--r--sql/sql_select.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc
index 25b64caa530..5d6945e866b 100644
--- a/sql/sql_select.cc
+++ b/sql/sql_select.cc
@@ -1191,7 +1191,7 @@ JOIN::optimize_inner()
/*
Needed in case optimizer short-cuts,
- set properly in make_tmp_tables_info()
+ set properly in make_aggr_tables_info()
*/
fields= &select_lex->item_list;
diff --git a/sql/sql_select.h b/sql/sql_select.h
index 8ee05973132..d4daa04f370 100644
--- a/sql/sql_select.h
+++ b/sql/sql_select.h
@@ -438,7 +438,7 @@ typedef struct st_join_table {
will be turned to fields. These variables are pointing to
tmp_fields_list[123]. Valid only for tmp tables and the last non-tmp
table in the query plan.
- @see JOIN::make_tmp_tables_info()
+ @see JOIN::make_aggr_tables_info()
*/
List<Item> *fields;
/** List of all expressions in the select list */