summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2014-11-21 20:45:18 +0300
committerSergei Petrunia <psergey@askmonty.org>2014-11-21 20:45:18 +0300
commit305dd8e5fba804d8006d34ca7cb05bec5a3b45e6 (patch)
tree8ecf98ad3abf4039209fed242ac5ae28f5321d96
parent1f3724a5831cd6529f4917b0a977d456465c68fe (diff)
downloadmariadb-git-305dd8e5fba804d8006d34ca7cb05bec5a3b45e6.tar.gz
Better comments
-rw-r--r--sql/sql_select.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/sql/sql_select.h b/sql/sql_select.h
index 41ee2cb51d2..cf3e1b353ab 100644
--- a/sql/sql_select.h
+++ b/sql/sql_select.h
@@ -982,7 +982,13 @@ public:
*/
uint top_join_tab_count;
uint send_group_parts;
- bool group; /**< If query contains GROUP BY clause */
+ /*
+ True if the query has GROUP BY.
+ (that is, if group_by != NULL. when DISTINCT is converted into GROUP BY, it
+ will set this, too. It is not clear why we need a separate var from
+ group_list)
+ */
+ bool group;
bool need_distinct;
/**