mirror of
https://github.com/MariaDB/server.git
synced 2026-05-07 15:45:33 +02:00
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:
parent
a766cf91ab
commit
93db6d4aa2
4 changed files with 9 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue