mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Avoid spurious error when restoring INFORMATION_SCHEMA as the current
database after failing to execute a stored procedure in an inaccessible database. (Bug #12318)
This commit is contained in:
4
sql/sp.h
4
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_ */
|
||||
|
Reference in New Issue
Block a user