summaryrefslogtreecommitdiff
path: root/sql/sp_head.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/sp_head.cc')
-rw-r--r--sql/sp_head.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sp_head.cc b/sql/sp_head.cc
index 50bb3a84ee7..11677848cb8 100644
--- a/sql/sp_head.cc
+++ b/sql/sp_head.cc
@@ -737,7 +737,7 @@ sp_head::execute(THD *thd)
if (dbchanged)
{
if (! thd->killed)
- ret= sp_change_db(thd, olddb, 0);
+ ret= mysql_change_db(thd, olddb, 0);
}
m_is_invoked= FALSE;
DBUG_RETURN(ret);