1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-01 03:47:19 +03:00

independent ALL/ANY subselect on top of WHERE clause (subselect without GROUP BY or aggregate functions) optimisation

(SCRUM) (WL#1086)
This commit is contained in:
bell@sanja.is.com.ua
2003-07-24 15:26:21 +03:00
parent 07a70f79e8
commit ec74bb8d76
9 changed files with 130 additions and 21 deletions

View File

@ -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: