diff options
author | unknown <timour@mysql.com> | 2005-12-01 09:26:17 +0200 |
---|---|---|
committer | unknown <timour@mysql.com> | 2005-12-01 09:26:17 +0200 |
commit | c9ef409150a1cdcdd0ab3d618baec592db45de78 (patch) | |
tree | 5ddb97b9a53f26674f5c806261971e84d916983d /sql/sql_class.h | |
parent | ba079bad06d99a353f1eadb177541ca23635f886 (diff) | |
parent | e3f575522824ee79ade046cf96f4f3679d68c1a3 (diff) | |
download | mariadb-git-c9ef409150a1cdcdd0ab3d618baec592db45de78.tar.gz |
Merge mysql.com:/home/timka/mysql/src/5.0-virgin
into mysql.com:/home/timka/mysql/src/5.0-bug-14920
sql/sql_class.cc:
Auto merged
sql/sql_class.h:
Auto merged
sql/sql_select.cc:
Auto merged
mysql-test/r/group_min_max.result:
Manually merged test cases.
mysql-test/t/group_min_max.test:
Manually merged test cases.
Diffstat (limited to 'sql/sql_class.h')
-rw-r--r-- | sql/sql_class.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/sql/sql_class.h b/sql/sql_class.h index 33be70ee674..e882d061dbf 100644 --- a/sql/sql_class.h +++ b/sql/sql_class.h @@ -1822,11 +1822,18 @@ public: uint convert_blob_length; CHARSET_INFO *table_charset; bool schema_table; + /* + True if GROUP BY and its aggregate functions are already computed + by a table access method (e.g. by loose index scan). In this case + query execution should not perform aggregation and should treat + aggregate functions as normal functions. + */ + bool precomputed_group_by; TMP_TABLE_PARAM() :copy_field(0), group_parts(0), group_length(0), group_null_parts(0), convert_blob_length(0), - schema_table(0) + schema_table(0), precomputed_group_by(0) {} ~TMP_TABLE_PARAM() { |