From c584a496d7000def48b8aad1f065c07f147998a3 Mon Sep 17 00:00:00 2001 From: Sergei Petrunia Date: Thu, 4 Jan 2018 14:04:52 +0300 Subject: [PATCH] Fix out-of-date comments. --- sql/sql_select.cc | 2 +- sql/sql_select.h | 2 +- 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 *fields; /** List of all expressions in the select list */