summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorgshchepa/uchum@gshchepa.loc <>2007-04-20 15:31:33 +0500
committergshchepa/uchum@gshchepa.loc <>2007-04-20 15:31:33 +0500
commit4fcf1316bba1aa15efe6d69c11e617c2ebccdca5 (patch)
treebdf1e76b1cbfea7cafc8a0d548a68d660c6b51e2 /sql/item_cmpfunc.h
parent83fff262619c49759e0598eb00e08a723684fc5f (diff)
parentf5a229b3d1dee09db8c8bd1999c6cc6c066123d5 (diff)
downloadmariadb-git-4fcf1316bba1aa15efe6d69c11e617c2ebccdca5.tar.gz
Merge gshchepa.loc:/home/uchum/work/bk-trees/mysql-4.1-opt-27704
into gshchepa.loc:/home/uchum/work/bk-trees/mysql-5.0-opt-27704
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index 0c4a62aaa24..11b8d34ad65 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -333,7 +333,7 @@ public:
bool is_bool_func() { return 1; }
CHARSET_INFO *compare_collation() { return cmp.cmp_collation.collation; }
uint decimal_precision() const { return 1; }
- void top_level_item() { abort_on_null=1; }
+ void top_level_item() { abort_on_null= TRUE; }
friend class Arg_comparator;
};