diff options
author | gkodinov/kgeorge@rakia.gmz <> | 2006-11-28 15:47:53 +0200 |
---|---|---|
committer | gkodinov/kgeorge@rakia.gmz <> | 2006-11-28 15:47:53 +0200 |
commit | fb41ec6f221bb05ae2e5a3ad60665242c696d496 (patch) | |
tree | 3d1a267fd6979baf82fe7be97b67888c56e85298 /sql/item.h | |
parent | 0421d489fbcdd1b9f3286f1981b7b3a275597b50 (diff) | |
parent | 42cd956752be97efe01ed83825e5b320b98d56a3 (diff) | |
download | mariadb-git-fb41ec6f221bb05ae2e5a3ad60665242c696d496.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
Diffstat (limited to 'sql/item.h')
-rw-r--r-- | sql/item.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/item.h b/sql/item.h index 63d89113ec1..e0451febb1e 100644 --- a/sql/item.h +++ b/sql/item.h @@ -704,6 +704,11 @@ public: virtual bool is_null() { return 0; } /* + Make sure the null_value member has a correct value. + */ + virtual void update_null_value () { (void) val_int(); } + + /* Inform the item that there will be no distinction between its result being FALSE or NULL. @@ -1270,6 +1275,7 @@ public: bool get_date_result(TIME *ltime,uint fuzzydate); bool get_time(TIME *ltime); bool is_null() { return field->is_null(); } + void update_null_value(); Item *get_tmp_table_item(THD *thd); bool collect_item_field_processor(byte * arg); bool find_item_in_field_list_processor(byte *arg); |