summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorigor@olga.mysql.com <>2006-12-12 11:53:09 -0800
committerigor@olga.mysql.com <>2006-12-12 11:53:09 -0800
commit11cdca9a2fc77be1a43acfd6b1734b65659f9ae1 (patch)
tree68fa80dd5079e1ad36b1d2265cf1e000ebcd53fc /sql/item_subselect.h
parent635a5641bc64b968d74aef5c80d2ee4f6a57ae72 (diff)
parent53d97a7d721463fd8004c1472b3e10ac352daec1 (diff)
downloadmariadb-git-11cdca9a2fc77be1a43acfd6b1734b65659f9ae1.tar.gz
Merge olga.mysql.com:/home/igor/mysql-4.1-opt
into olga.mysql.com:/home/igor/mysql-5.0-opt
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();
};