diff options
Diffstat (limited to 'sql/sp_pcontext.cc')
-rw-r--r-- | sql/sp_pcontext.cc | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/sql/sp_pcontext.cc b/sql/sp_pcontext.cc index 11954921e06..6afca24231b 100644 --- a/sql/sp_pcontext.cc +++ b/sql/sp_pcontext.cc @@ -183,13 +183,10 @@ sp_variable *sp_pcontext::find_variable(uint offset) const } -sp_variable *sp_pcontext::add_variable(THD *thd, - LEX_STRING name, - enum enum_field_types type, - sp_variable::enum_mode mode) +sp_variable *sp_pcontext::add_variable(THD *thd, LEX_STRING name) { sp_variable *p= - new (thd->mem_root) sp_variable(name, type,mode, current_var_count()); + new (thd->mem_root) sp_variable(name, current_var_count()); if (!p) return NULL; |