summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2003-10-16 15:54:47 +0300
committerbell@sanja.is.com.ua <>2003-10-16 15:54:47 +0300
commita7bdd19707cd0077560ff50160eb830a0266b43d (patch)
treedff4a909ef6eed167999fe596d481efd2e38e613 /sql/item_cmpfunc.h
parentddf4d1e5292f226f266a486b84c70e01ec1f93fe (diff)
downloadmariadb-git-a7bdd19707cd0077560ff50160eb830a0266b43d.tar.gz
subqueries made printable
new EXPLAIN parameter to show real query as it was interpreted (SCRUM) (WL#1274)
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index ab03782b168..eb473a1a73d 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -160,10 +160,14 @@ 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) {}
+ bool show;
+
+ Item_func_not_all(Item *a) :Item_func_not(a), abort_on_null(0), show(0) {}
virtual void top_level_item() { abort_on_null= 1; }
bool top_level() { return abort_on_null; }
longlong val_int();
+ const char *func_name() const { return "<not>"; }
+ void print(String *str);
};
class Item_func_eq :public Item_bool_rowready_func2