summaryrefslogtreecommitdiff
path: root/sql/sp.h
diff options
context:
space:
mode:
authorjimw@mysql.com <>2005-08-11 17:04:16 -0700
committerjimw@mysql.com <>2005-08-11 17:04:16 -0700
commit3a815f45bd7030cddf636d5018faf13918f99ca6 (patch)
treecdafc43f17feb3e2c94df11c7bcc6df37c52eae3 /sql/sp.h
parent03162293da783ce3f153ac8f713e0cea103b440b (diff)
downloadmariadb-git-3a815f45bd7030cddf636d5018faf13918f99ca6.tar.gz
Avoid spurious error when restoring INFORMATION_SCHEMA as the current
database after failing to execute a stored procedure in an inaccessible database. (Bug #12318)
Diffstat (limited to 'sql/sp.h')
-rw-r--r--sql/sp.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/sql/sp.h b/sql/sp.h
index 9f110f87807..c278da863e0 100644
--- a/sql/sp.h
+++ b/sql/sp.h
@@ -112,8 +112,4 @@ int
sp_use_new_db(THD *thd, char *newdb, char *olddb, uint olddbmax,
bool no_access_check, bool *dbchangedp);
-// Like mysql_change_db() but handles empty db name and the send_ok() problem.
-int
-sp_change_db(THD *thd, char *db, bool no_access_check);
-
#endif /* _SP_H_ */