diff options
author | monty@mysql.com <> | 2004-02-09 12:31:03 +0100 |
---|---|---|
committer | monty@mysql.com <> | 2004-02-09 12:31:03 +0100 |
commit | 06432eac3606d75045109e3bad2538543f1a574b (patch) | |
tree | 4cdb6965fba280ace2fc30421a0f25332597e43e /sql/item_sum.h | |
parent | 480b082cf44db4fb2722e256f16e5f8c7c537bcf (diff) | |
download | mariadb-git-06432eac3606d75045109e3bad2538543f1a574b.tar.gz |
Added --compact to mysqlbinlog
Fixed output from mysqlbinlog when using --skip-comments
Fixed warnings from valgrind
Fixed ref_length when used with HEAP tables
More efficent need_conversion()
Fixed error handling in UPDATE with not updateable tables
Fixed bug in null handling in CAST to signed/unsigned
Diffstat (limited to 'sql/item_sum.h')
-rw-r--r-- | sql/item_sum.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sql/item_sum.h b/sql/item_sum.h index dc84e4d4ab7..bb03f029997 100644 --- a/sql/item_sum.h +++ b/sql/item_sum.h @@ -397,12 +397,13 @@ class Item_sum_hybrid :public Item_sum public: Item_sum_hybrid(Item *item_par,int sign) - :Item_sum(item_par), hybrid_type(INT_RESULT), cmp_sign(sign), - used_table_cache(~(table_map) 0), + :Item_sum(item_par), sum(0.0), sum_int(0), + hybrid_type(INT_RESULT), hybrid_field_type(FIELD_TYPE_LONGLONG), + cmp_sign(sign), used_table_cache(~(table_map) 0), cmp_charset(&my_charset_bin) {} Item_sum_hybrid(THD *thd, Item_sum_hybrid *item): - Item_sum(thd, item), value(item->value), tmp_value(item->tmp_value), + Item_sum(thd, item), value(item->value), sum(item->sum), sum_int(item->sum_int), hybrid_type(item->hybrid_type), hybrid_field_type(item->hybrid_field_type),cmp_sign(item->cmp_sign), used_table_cache(item->used_table_cache), cmp_charset(item->cmp_charset) {} |