summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.cc
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2004-06-22 15:17:40 +0300
committerbell@sanja.is.com.ua <>2004-06-22 15:17:40 +0300
commite71b693115e612df7f9e62b93618be0ef0279eab (patch)
tree69ab971bd511d6733b9c9d19db5875763a3472fd /sql/item_cmpfunc.cc
parentec09e5f61b42ff76923e2eb68157e45f42785407 (diff)
parenta19b0f0a8edd650c920a26f51869dfb0af10a382 (diff)
downloadmariadb-git-e71b693115e612df7f9e62b93618be0ef0279eab.tar.gz
Merge sanja.is.com.ua:/home/bell/mysql/bk/mysql-4.1
into sanja.is.com.ua:/home/bell/mysql/bk/work-regexp-4.1
Diffstat (limited to 'sql/item_cmpfunc.cc')
-rw-r--r--sql/item_cmpfunc.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.cc b/sql/item_cmpfunc.cc
index be509c7ed11..ab9c47ec727 100644
--- a/sql/item_cmpfunc.cc
+++ b/sql/item_cmpfunc.cc
@@ -2298,15 +2298,19 @@ longlong Item_func_regex::val_int()
}
-Item_func_regex::~Item_func_regex()
+void Item_func_regex::cleanup()
{
+ DBUG_ENTER("Item_func_regex::cleanup");
+ Item_bool_func::cleanup();
if (regex_compiled)
{
regfree(&preg);
regex_compiled=0;
}
+ DBUG_VOID_RETURN;
}
+
#endif /* USE_REGEX */