summaryrefslogtreecommitdiff
path: root/sql/sp_pcontext.cc
diff options
context:
space:
mode:
authorpem@mysql.com <>2005-09-13 12:50:21 +0200
committerpem@mysql.com <>2005-09-13 12:50:21 +0200
commitc76d5768a7dba6f6cd77c5d3fb805ed184be73c8 (patch)
treee9be1a621c9e211cb4daf7e3f100a113c29249fd /sql/sp_pcontext.cc
parent8369e7de8a18397d4725d2f24d7f3bd40ec71132 (diff)
downloadmariadb-git-c76d5768a7dba6f6cd77c5d3fb805ed184be73c8.tar.gz
Fixed BUG#13133: Local variables in stored procedures are not initialized correctly.
Have to init. all local variables in their frames, not just once at the beginning of invocation.
Diffstat (limited to 'sql/sp_pcontext.cc')
-rw-r--r--sql/sp_pcontext.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/sp_pcontext.cc b/sql/sp_pcontext.cc
index 0de7fe212c0..f873b676925 100644
--- a/sql/sp_pcontext.cc
+++ b/sql/sp_pcontext.cc
@@ -184,7 +184,6 @@ sp_pcontext::push_pvar(LEX_STRING *name, enum enum_field_types type,
p->type= type;
p->mode= mode;
p->offset= current_pvars();
- p->isset= (mode == sp_param_out ? FALSE : TRUE);
p->dflt= NULL;
insert_dynamic(&m_pvar, (gptr)&p);
}