mirror of
https://github.com/MariaDB/server.git
synced 2025-12-24 11:21:21 +03:00
Fix of fix for BUG#3339: Stored procedures in nonexistent schemas are uncallable.
Accidently worked on many platforms, but not all.
This commit is contained in:
@@ -3588,7 +3588,7 @@ purposes internal to the MySQL server", MYF(0));
|
||||
lex->sphead= 0;
|
||||
goto error;
|
||||
case SP_NO_DB_ERROR:
|
||||
net_printf(thd, ER_BAD_DB_ERROR, lex->sphead->m_db);
|
||||
net_printf(thd, ER_BAD_DB_ERROR, lex->sphead->m_db.str);
|
||||
delete lex->sphead;
|
||||
lex->sphead= 0;
|
||||
goto error;
|
||||
|
||||
Reference in New Issue
Block a user