summaryrefslogtreecommitdiff
path: root/sql/item_subselect.h
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.mysql.com>2007-01-17 11:53:00 +0100
committerunknown <msvensson@pilot.mysql.com>2007-01-17 11:53:00 +0100
commite53f3aac027ceda31b94485bc961127f5570588b (patch)
tree769da28ca256c82711b0b73af5ec9e75f6f36628 /sql/item_subselect.h
parente4fefc40cf3642ed6795cb6c8bc71a7f460fad73 (diff)
parent7118b2c33349336cd863dbb0a73a1cfbf3e48451 (diff)
downloadmariadb-git-e53f3aac027ceda31b94485bc961127f5570588b.tar.gz
Merge pilot.mysql.com:/home/msvensson/mysql/mysql-5.0
into pilot.mysql.com:/home/msvensson/mysql/mysql-5.0-maint mysys/my_read.c: Auto merged scripts/make_binary_distribution.sh: Auto merged sql/field.h: Auto merged sql/mysqld.cc: Auto merged sql/sql_class.h: Auto merged sql/sql_parse.cc: Auto merged
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();
};