summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.cc
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2003-01-29 20:44:47 +0200
committerbell@sanja.is.com.ua <>2003-01-29 20:44:47 +0200
commita662f7e105ff9f0fe5b2fb7ac193d8f5a72370d1 (patch)
tree0388d71e4d05deefde23bc90c8ba8779cfaad936 /sql/item_cmpfunc.cc
parent9525a58132be10ccf3baae3ac010974aaa92acf9 (diff)
downloadmariadb-git-a662f7e105ff9f0fe5b2fb7ac193d8f5a72370d1.tar.gz
fixed row items with group functions
fixed layout
Diffstat (limited to 'sql/item_cmpfunc.cc')
-rw-r--r--sql/item_cmpfunc.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc
index 7a9cce6d645..f28268d0f88 100644
--- a/sql/item_cmpfunc.cc
+++ b/sql/item_cmpfunc.cc
@@ -1079,8 +1079,10 @@ in_string::in_string(uint elements,qsort_cmp cmp_func)
in_string::~in_string()
{
if (base)
+ {
for (uint i=0 ; i < count ; i++)
((String*) base)[i].free();
+ }
}
void in_string::set(uint pos,Item *item)