diff options
author | monty@hundin.mysql.fi <> | 2001-06-19 14:30:12 +0300 |
---|---|---|
committer | monty@hundin.mysql.fi <> | 2001-06-19 14:30:12 +0300 |
commit | 72fb81e888b5c5f9c1c7917709568d61cfb6663f (patch) | |
tree | 884d89c2f53eae988fe08259ab2953720d274ab2 /sql/item_sum.h | |
parent | 16d50ca46d41060240dffc761f12144395150ff6 (diff) | |
download | mariadb-git-72fb81e888b5c5f9c1c7917709568d61cfb6663f.tar.gz |
Fixed bug in mysqlcheck when using --fast
Fixed problem when converting bigint to double.
Fixed bug in count(distinct null)
Fixed bug with empty BDB tables.
Diffstat (limited to 'sql/item_sum.h')
-rw-r--r-- | sql/item_sum.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/item_sum.h b/sql/item_sum.h index 8cb09c85623..f68dfee1b61 100644 --- a/sql/item_sum.h +++ b/sql/item_sum.h @@ -145,11 +145,12 @@ class Item_sum_count_distinct :public Item_sum_int table_map used_table_cache; bool fix_fields(THD *thd,TABLE_LIST *tables); TMP_TABLE_PARAM *tmp_table_param; + bool always_null; public: Item_sum_count_distinct(List<Item> &list) :Item_sum_int(list),table(0),used_table_cache(~(table_map) 0), - tmp_table_param(0) + tmp_table_param(0),always_null(0) { quick_group=0; } ~Item_sum_count_distinct(); table_map used_tables() const { return used_table_cache; } |