diff options
author | serg@serg.mylan <> | 2005-03-14 18:46:30 +0100 |
---|---|---|
committer | serg@serg.mylan <> | 2005-03-14 18:46:30 +0100 |
commit | f04bef8faf2d50372e511d8c38bdba2bcb869920 (patch) | |
tree | ffd6ad3c244467400e3299a7ea9da5e0f1f87e15 /sql/item_cmpfunc.h | |
parent | 3613f8c262386559c8c174e7a6690570962a93ff (diff) | |
parent | 18343b9454e7711b8fea5319360f2f325d8d9d15 (diff) | |
download | mariadb-git-f04bef8faf2d50372e511d8c38bdba2bcb869920.tar.gz |
merged
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index 02bbb00f293..e917e13c5aa 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -1190,6 +1190,8 @@ public: enum Functype functype() const { return COND_AND_FUNC; } longlong val_int(); const char *func_name() const { return "and"; } + table_map not_null_tables() const + { return abort_on_null ? not_null_tables_cache: and_tables_cache; } Item* copy_andor_structure(THD *thd) { Item_cond_and *item; @@ -1237,7 +1239,7 @@ public: enum Type type() const { return FUNC_ITEM; } longlong val_int(); const char *func_name() const { return "xor"; } - table_map not_null_tables() const { return and_tables_cache; } + void top_level_item() {} }; |