summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2018-01-04 14:04:52 +0300
committerSergei Petrunia <psergey@askmonty.org>2018-01-04 14:04:52 +0300
commitc584a496d7000def48b8aad1f065c07f147998a3 (patch)
treecc42ed60b259be377a188e05feb02f0fc4d878a1
parentaf0ba43838b6d9592a464073719472c71289c7d6 (diff)
downloadmariadb-git-c584a496d7000def48b8aad1f065c07f147998a3.tar.gz
Fix out-of-date comments.
-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 */