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
This commit is contained in:
unknown 2006-05-04 15:30:38 +03:00
commit 93db6d4aa2
4 changed files with 9 additions and 1 deletions

View file

@ -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);