summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/sp_head.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index cc847a0134c..9f61778202c 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -1518,8 +1518,8 @@ sp_head::execute_procedure(THD *thd, List<Item> *args)
Item_func_set_user_var is not fixed after construction,
call fix_fields().
*/
- if ((ret= test(!suv || suv->fix_fields(thd, &item) ||
- suv->check() || suv->update())))
+ if ((err_status= test(!suv || suv->fix_fields(thd, &item) ||
+ suv->check() || suv->update())))
break;
}
}