summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorigor@olga.mysql.com <>2007-02-09 12:54:50 -0800
committerigor@olga.mysql.com <>2007-02-09 12:54:50 -0800
commit951fe3caded6344b4398247f8d2173997a02c633 (patch)
tree85afdb1732e9027f0bba3c01c67e9da73a9e743e /sql/item_cmpfunc.h
parent8d4027fd74eb1d40e8e6448c2c9f88bb371c525f (diff)
downloadmariadb-git-951fe3caded6344b4398247f8d2173997a02c633.tar.gz
Fixed bug #26017.
Objects of the class Item_equal contain an auxiliary member eval_item of the type cmp_item that is used only for direct evaluation of multiple equalities. Currently a multiple equality is evaluated directly only in the cases when the equality holds at most for one row in the result set. The compare collation of eval_item was determined incorectly. It could lead to returning incorrect results for some queries.
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index f18728c554b..4a06f487126 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -1296,7 +1296,6 @@ class Item_equal: public Item_bool_func
Item *const_item; /* optional constant item equal to fields items */
cmp_item *eval_item;
bool cond_false;
- DTCollation cmp_collation;
public:
inline Item_equal()
: Item_bool_func(), const_item(0), eval_item(0), cond_false(0)