diff options
author | pem@mysql.comhem.se <> | 2005-06-10 16:14:01 +0200 |
---|---|---|
committer | pem@mysql.comhem.se <> | 2005-06-10 16:14:01 +0200 |
commit | 46619fa0e3e6eaeea0f23475cf51d78df8d0d393 (patch) | |
tree | d62d5453cb34063af9f715acecb554a0ee41ef38 /sql/sp_rcontext.h | |
parent | 254bdaf64a86855ffe578271a017b38259614d89 (diff) | |
download | mariadb-git-46619fa0e3e6eaeea0f23475cf51d78df8d0d393.tar.gz |
Post review and additional fix for BUG#10968: Stored procedures: crash if long loop.
Fixed valgrind complaints. This fixes the memory leak problems for
procedured, and partially for functions. There's still a leak involving
results from functions that turned out to be too involved, so it will be
fixed separately.
Diffstat (limited to 'sql/sp_rcontext.h')
-rw-r--r-- | sql/sp_rcontext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/sp_rcontext.h b/sql/sp_rcontext.h index ba5fa950dc3..864dc3df146 100644 --- a/sql/sp_rcontext.h +++ b/sql/sp_rcontext.h @@ -47,6 +47,7 @@ class sp_rcontext : public Sql_alloc public: + MEM_ROOT *callers_mem_root; // Used to store result fields bool in_handler; sp_rcontext(uint fsize, uint hmax, uint cmax); |