summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorunknown <igor@rurik.mysql.com>2004-10-25 23:08:55 -0700
committerunknown <igor@rurik.mysql.com>2004-10-25 23:08:55 -0700
commit8b44be63c5279ebfd5fb4f7c8d209c2adb2d8697 (patch)
tree32968fd8e8e06f11543ca5fdd4ba82c1fbbe6352 /sql/item_cmpfunc.h
parent4c06b4aed7d2df6d7b05de18c646592a2ff3ea94 (diff)
downloadmariadb-git-8b44be63c5279ebfd5fb4f7c8d209c2adb2d8697.tar.gz
item_cmpfunc.h:
COND_EQUAL must be derived from Sql_alloc to simplify memory management for objects of this class. This fixes a leak in mysql-test-run noticed by PEM. opt_range.cc: Fixed uninitialized min_max_range member the QUICK_GROUP_MIN_MAX_SELECT class. sql/opt_range.cc: Fixed uninitialized min_max_range member the QUICK_GROUP_MIN_MAX_SELECT class. sql/item_cmpfunc.h: COND_EQUAL must be derived from Sql_alloc to simplify memory management for objects of this class. This fixes a leak in mysql-test-run noticed by PEM.
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 a8382df20f5..8d52459c0e5 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -1081,7 +1081,7 @@ public:
{ return fields.head()->collation.collation; }
};
-class COND_EQUAL
+class COND_EQUAL: public Sql_alloc
{
public:
uint max_members; /* max number of members the current level