diff options
author | Sergei Petrunia <psergey@askmonty.org> | 2014-11-21 20:45:18 +0300 |
---|---|---|
committer | Sergei Petrunia <psergey@askmonty.org> | 2014-11-21 20:45:18 +0300 |
commit | 305dd8e5fba804d8006d34ca7cb05bec5a3b45e6 (patch) | |
tree | 8ecf98ad3abf4039209fed242ac5ae28f5321d96 | |
parent | 1f3724a5831cd6529f4917b0a977d456465c68fe (diff) | |
download | mariadb-git-305dd8e5fba804d8006d34ca7cb05bec5a3b45e6.tar.gz |
Better comments
-rw-r--r-- | sql/sql_select.h | 8 |
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; /** |