diff options
author | unknown <cmiller@zippy.(none)> | 2006-07-11 07:24:59 -0400 |
---|---|---|
committer | unknown <cmiller@zippy.(none)> | 2006-07-11 07:24:59 -0400 |
commit | d1a31ef52ab0f29ada3a65125c8c6d1f761c37ea (patch) | |
tree | 2222591001666158af94f8dc8e656a300177bb90 /sql/item_func.h | |
parent | 665db1a6ade28cc7c6152a7411badbc822792331 (diff) | |
parent | 89c7db0cb0a67a8c7bd30eb4043ec948554244e9 (diff) | |
download | mariadb-git-d1a31ef52ab0f29ada3a65125c8c6d1f761c37ea.tar.gz |
Merge zippy.(none):/home/cmiller/work/mysql/mysql-4.0__bug19006
into zippy.(none):/home/cmiller/work/mysql/merge/mysql-4.1
client/sql_string.h:
Auto merged
sql/item_func.h:
Auto merged
sql/sql_string.h:
Auto merged
configure.in:
Null merge.
sql/item_strfunc.cc:
Null merged
Diffstat (limited to 'sql/item_func.h')
-rw-r--r-- | sql/item_func.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index 51f9d3fb36f..f4a1258a02c 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -138,7 +138,10 @@ public: { return (null_value=args[0]->get_time(ltime)); } - bool is_null() { (void) val_int(); return null_value; } + bool is_null() { + (void) val_int(); /* Discard result. It sets null_value as side-effect. */ + return null_value; + } friend class udf_handler; Field *tmp_table_field() { return result_field; } Field *tmp_table_field(TABLE *t_arg); |