diff options
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index 44e1cf99511..ea652353828 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -155,6 +155,16 @@ public: const char *func_name() const { return "not"; } }; +class Item_func_not_all :public Item_func_not +{ + bool abort_on_null; +public: + Item_func_not_all(Item *a) :Item_func_not(a), abort_on_null(0) {} + virtual void top_level_item() { abort_on_null= 1; } + bool top_level() { return abort_on_null; } + longlong val_int(); +}; + class Item_func_eq :public Item_bool_rowready_func2 { public: |