summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorholyfoot/hf@mysql.com/hfmain.(none) <>2007-01-03 11:13:01 +0400
committerholyfoot/hf@mysql.com/hfmain.(none) <>2007-01-03 11:13:01 +0400
commit79361c655a09e47c06ec05afdcd4fa28257634af (patch)
tree67158e1231a13e0031e1b313303882ddd6a05ba4 /sql/item_subselect.h
parent8c2d34c3c6c5c0db42ef8d95c76a439585d973c8 (diff)
parenta0f48f0f5ca455c7c9b5f3a383329b8a7abbbdf1 (diff)
downloadmariadb-git-79361c655a09e47c06ec05afdcd4fa28257634af.tar.gz
Merge mysql.com:/d2/hf/common/my50-common
into mysql.com:/d2/hf/opt/my50-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 5b2ab419b77..69ac78d859b 100644
--- a/sql/item_subselect.h
+++ b/sql/item_subselect.h
@@ -362,7 +362,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;
@@ -399,6 +399,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();
};