summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
authorunknown <monty@mysql.com>2006-05-04 15:30:38 +0300
committerunknown <monty@mysql.com>2006-05-04 15:30:38 +0300
commit264766722948e3477c9602372f9e3ba7c0d05f39 (patch)
tree4862c051c6d6495a8c7c01a8d451ce10c0c8c2e5 /sql/item_func.h
parent163f0bf1395fd4ca79f9c39eace3597831b4688e (diff)
downloadmariadb-git-264766722948e3477c9602372f9e3ba7c0d05f39.tar.gz
Fixed memory leak in sql_parse.cc (lex_end() was not called)
This caused sp-vars.test to fail sql/item_func.h: Removed compiler warning sql/sp.cc: Fixed memory leak in sql_parse.cc sql/sp_head.cc: Fixed memory leak in sql_parse.cc sql/sp_head.h: Fixed memory leak in sql_parse.cc
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index ed5924e8fe1..a91d93be8c6 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -284,6 +284,7 @@ class Item_func_connection_id :public Item_int_func
longlong value;
public:
+ Item_func_connection_id() {}
const char *func_name() const { return "connection_id"; }
void fix_length_and_dec();
bool fix_fields(THD *thd, Item **ref);