summaryrefslogtreecommitdiff
path: root/sql/sp_rcontext.cc
diff options
context:
space:
mode:
authorpem@mysql.comhem.se <>2005-04-14 14:52:35 +0200
committerpem@mysql.comhem.se <>2005-04-14 14:52:35 +0200
commit6aad6835c62d4bdb03047ee10f7864c73942bc1f (patch)
tree4d68d693e57a9c8510fa5a630fe0061668408ba8 /sql/sp_rcontext.cc
parentc9ad5e7673073f1e95fbbd16dbafe6ee92efd6e8 (diff)
downloadmariadb-git-6aad6835c62d4bdb03047ee10f7864c73942bc1f.tar.gz
Fixed BUG#9598: stored procedure call within stored procedure
overwrites IN variable and added error checking of variables for [IN]OUT parameters while rewriting the out parameter handling.
Diffstat (limited to 'sql/sp_rcontext.cc')
-rw-r--r--sql/sp_rcontext.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sp_rcontext.cc b/sql/sp_rcontext.cc
index d98cdfdd226..def38009eee 100644
--- a/sql/sp_rcontext.cc
+++ b/sql/sp_rcontext.cc
@@ -34,7 +34,6 @@ sp_rcontext::sp_rcontext(uint fsize, uint hmax, uint cmax)
{
in_handler= FALSE;
m_frame= (Item **)sql_alloc(fsize * sizeof(Item*));
- m_outs= (int *)sql_alloc(fsize * sizeof(int));
m_handler= (sp_handler_t *)sql_alloc(hmax * sizeof(sp_handler_t));
m_hstack= (uint *)sql_alloc(hmax * sizeof(uint));
m_cstack= (sp_cursor **)sql_alloc(cmax * sizeof(sp_cursor *));