summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2012-05-02 22:02:06 +0200
committerSergei Golubchik <sergii@pisem.net>2012-05-02 22:02:06 +0200
commit99e2ba4848d1cbfaf460c2d6f591f1a054247f07 (patch)
tree753b2d2f3b2e9d4dff3484bf154623b1d24a9d59 /sql/item_cmpfunc.h
parent1a4633059e922412145132b881d9a2bb749d6cf8 (diff)
parent167ad4c4a5ca55ed79a04300fe368f51a5fc5e43 (diff)
downloadmariadb-git-99e2ba4848d1cbfaf460c2d6f591f1a054247f07.tar.gz
5.2 merge
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index be30afb3bd0..189b83b7efc 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -1567,6 +1567,7 @@ public:
friend int setup_conds(THD *thd, TABLE_LIST *tables, TABLE_LIST *leaves,
COND **conds);
void top_level_item() { abort_on_null=1; }
+ bool top_level() { return abort_on_null; }
void copy_andor_arguments(THD *thd, Item_cond *item);
bool walk(Item_processor processor, bool walk_subquery, uchar *arg);
Item *transform(Item_transformer transformer, uchar *arg);