summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorunknown <igor@olga.mysql.com>2006-12-12 11:53:09 -0800
committerunknown <igor@olga.mysql.com>2006-12-12 11:53:09 -0800
commit22192d083ace932c5ee2c29b550012648ebf245e (patch)
tree68fa80dd5079e1ad36b1d2265cf1e000ebcd53fc /sql/item_subselect.h
parent4108725364e4271ceedea644875e1abac00c2dc4 (diff)
parent33446269e18d0506802ca89df30f89e3e5978154 (diff)
downloadmariadb-git-22192d083ace932c5ee2c29b550012648ebf245e.tar.gz
Merge olga.mysql.com:/home/igor/mysql-4.1-opt
into olga.mysql.com:/home/igor/mysql-5.0-opt sql/item_subselect.cc: Auto merged mysql-test/r/subselect.result: Manual merge mysql-test/t/subselect.test: Manual merge sql/item_subselect.h: Manual merge
Diffstat (limited to 'sql/item_subselect.h')
-rw-r--r--sql/item_subselect.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/item_subselect.h b/sql/item_subselect.h
index 35ded79b75d..e9edb157f54 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -363,7 +363,7 @@ public:
enum Item_result type() { return res_type; }
enum_field_types field_type() { return res_field_type; }
virtual void exclude()= 0;
- bool may_be_null() { return maybe_null; };
+ virtual bool may_be_null() { return maybe_null; };
virtual table_map upper_select_const_tables()= 0;
static table_map calc_const_tables(TABLE_LIST *);
virtual void print(String *str)= 0;
@@ -400,6 +400,7 @@ public:
void print (String *str);
bool change_result(Item_subselect *si, select_subselect *result);
bool no_tables();
+ bool may_be_null();
bool is_executed() const { return executed; }
bool no_rows();
};