summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorunknown <monty@hundin.mysql.fi>2002-11-09 09:51:03 +0200
committerunknown <monty@hundin.mysql.fi>2002-11-09 09:51:03 +0200
commitb3a8b8bd193dc9b22b8d5bc28c894c49f6153647 (patch)
tree50d75360317401d22dd6d4a2f7a6a240f5ef68b0 /sql/item_cmpfunc.h
parent34d29fca2d1089ca2468645080a042f1ec1dd6f5 (diff)
downloadmariadb-git-b3a8b8bd193dc9b22b8d5bc28c894c49f6153647.tar.gz
Fixed bug in MAX() optimization when used with JOIN and ON expressions
sql/item_cmpfunc.cc: Create an AND expression from two expressions sql/item_cmpfunc.h: Create an AND expression from two expressions
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index 214abff4b77..83035720df6 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -621,3 +621,6 @@ public:
longlong val_int();
const char *func_name() const { return "xor"; }
};
+
+
+Item *and_expressions(Item *a, Item *b, Item **org_item);