diff options
author | unknown <gkodinov/kgeorge@rakia.gmz> | 2006-11-28 15:47:53 +0200 |
---|---|---|
committer | unknown <gkodinov/kgeorge@rakia.gmz> | 2006-11-28 15:47:53 +0200 |
commit | bce65bf41b4be9d859d7c1cf7ddcbca3e2d8deaf (patch) | |
tree | 3d1a267fd6979baf82fe7be97b67888c56e85298 /sql/item_sum.h | |
parent | c0f63d8564fdd1aacd001a882271dd896721d93a (diff) | |
parent | 9221a5482bb39be7391f46d81e1e85dc41b47729 (diff) | |
download | mariadb-git-bce65bf41b4be9d859d7c1cf7ddcbca3e2d8deaf.tar.gz |
Merge gkodinov@bk-internal.mysql.com:/home/bk/mysql-5.0-opt
into rakia.gmz:/home/kgeorge/mysql/autopush/B11927-5.0-opt
mysql-test/r/func_gconcat.result:
Auto merged
sql/field.cc:
Auto merged
sql/item.cc:
Auto merged
sql/item.h:
Auto merged
sql/item_func.h:
Auto merged
sql/item_subselect.h:
Auto merged
sql/item_sum.cc:
Auto merged
sql/item_sum.h:
Auto merged
sql/sql_string.h:
Auto merged
Diffstat (limited to 'sql/item_sum.h')
-rw-r--r-- | sql/item_sum.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_sum.h b/sql/item_sum.h index c11ef7e548a..ad05b3c9d12 100644 --- a/sql/item_sum.h +++ b/sql/item_sum.h @@ -618,7 +618,7 @@ public: double val_real(); longlong val_int(); my_decimal *val_decimal(my_decimal *); - bool is_null() { (void) val_int(); return null_value; } + bool is_null() { update_null_value(); return null_value; } String *val_str(String*); enum_field_types field_type() const { @@ -685,7 +685,7 @@ public: { /* can't be fix_fields()ed */ return (longlong) rint(val_real()); } String *val_str(String*); my_decimal *val_decimal(my_decimal *); - bool is_null() { (void) val_int(); return null_value; } + bool is_null() { update_null_value(); return null_value; } enum_field_types field_type() const { return hybrid_type == DECIMAL_RESULT ? |