diff options
author | unknown <bell@sanja.is.com.ua> | 2002-12-15 11:14:53 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2002-12-15 11:14:53 +0200 |
commit | 1062220566db3fc475dc83c27c0e476156232400 (patch) | |
tree | 1cd675e1a98f5a3bf624aa99ee733c3efb130f5d /sql/item_subselect.h | |
parent | 71a6aa3b0c6b15d57e8552e59c094caf4ce6f41a (diff) | |
download | mariadb-git-1062220566db3fc475dc83c27c0e476156232400.tar.gz |
fixed subselect null test
fixed method definition (overloading instead of redefinition)
fixed time expression type definition
mysql-test/r/subselect.result:
test of subselect null test
mysql-test/t/subselect.test:
test of subselect null test
sql/item.h:
fixed method definition (overloading instead of redefinition)
sql/item_subselect.h:
fixed subselect null test
sql/item_timefunc.cc:
fixed time expression type definition
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r-- | sql/item_subselect.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h index 7e46af09e2a..0e6f939803d 100644 --- a/sql/item_subselect.h +++ b/sql/item_subselect.h @@ -75,7 +75,11 @@ public: bool assigned() { return value_assigned; } void assigned(bool a) { value_assigned= a; } enum Type type() const; - bool is_null() { return null_value; } + bool is_null() + { + val_int(); + return null_value; + } bool fix_fields(THD *thd, TABLE_LIST *tables, Item **ref); virtual void fix_length_and_dec(); table_map used_tables() const; |