summaryrefslogtreecommitdiff
path: root/sql/sp_head.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2015-08-18 01:00:28 +0300
committerMonty <monty@mariadb.org>2015-08-18 01:00:28 +0300
commit4d8a6253af5b4c699acf77f9ed13d233cdb9dd9a (patch)
tree254e8fc06589dc31927062ba1b2b41cd608a959e /sql/sp_head.cc
parent2eef4d3bea7ccd3d55e9ab3316f2a23f48cd6fc5 (diff)
downloadmariadb-git-bb-10.1-default.tar.gz
Fixed failing tests and compiler warningsbb-10.1-default
- UNINIT_VAR() was required for 4.8.3 on openSUSE 13.2 - repair_symlink changed because of some of my earlier fixes for REPAIR
Diffstat (limited to 'sql/sp_head.cc')
-rw-r--r--sql/sp_head.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index 777775e6e39..667cac41d43 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -1133,6 +1133,8 @@ sp_head::execute(THD *thd, bool merge_da_on_success)
Diagnostics_area *da= thd->get_stmt_da();
Warning_info sp_wi(da->warning_info_id(), false, true);
+ UNINIT_VAR(saved_creation_ctx);
+
/* this 7*STACK_MIN_SIZE is a complex matter with a long history (see it!) */
if (check_stack_overrun(thd, 7 * STACK_MIN_SIZE, (uchar*)&old_packet))
DBUG_RETURN(TRUE);