diff options
author | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2021-01-13 23:34:34 +0200 |
---|---|---|
committer | Vicențiu Ciorbaru <vicentiu@mariadb.org> | 2021-01-13 23:34:34 +0200 |
commit | e971f332697f037f2a37537eac1dfa854e4330a9 (patch) | |
tree | 0ccbfdcbc113a26a589ccc00996313eb61d3d41d | |
parent | ad897f9c3944917ce5b0a4e89de7618e14187c47 (diff) | |
download | mariadb-git-e971f332697f037f2a37537eac1dfa854e4330a9.tar.gz |
make_aggr_table_info cleanup
-rw-r--r-- | sql/sql_select.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index f306342af67..a8d0ece6f6f 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -3255,10 +3255,10 @@ bool JOIN::make_aggr_tables_info() DBUG_RETURN(1); TABLE* table= create_tmp_table(thd, curr_tab->tmp_table_param, all_fields, - NULL, query.distinct, + NULL, distinct, TRUE, select_options, HA_POS_ERROR, &empty_clex_str, !need_tmp, - query.order_by || query.group_by); + keep_row_order); if (!table) DBUG_RETURN(1); |