mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
sp_head now has its own mem_root (WL#961).
Also fixed some difficult memory leaks that became apparent in this task. sql/sp.cc: sp_head now has its own mem_root. sql/sp_head.cc: sp_head now has its own mem_root. Also fixed some difficult memory leaks. sql/sp_head.h: sp_head now has its own mem_root. sql/sql_lex.h: Fixed some memory leaks in sp_head. Need to keep track on used lex:es. sql/sql_parse.cc: sp_head now has its own mem_root. Fixed SP memory leaks. sql/sql_prepare.cc: Fixed SP memory leaks. sql/sql_yacc.yy: sp_head now has its own mem_root.
This commit is contained in:
@ -495,6 +495,7 @@ typedef struct st_lex
|
||||
char *help_arg;
|
||||
SQL_LIST *gorder_list;
|
||||
sp_head *sphead;
|
||||
bool sp_lex_in_use; /* Keep track on lex usage in SPs for error handling */
|
||||
sp_pcontext *spcont;
|
||||
List<char> spfuns; /* Called functions */
|
||||
|
||||
|
Reference in New Issue
Block a user