Commit a4e0fa11 authored by pem@mysql.comhem.se's avatar pem@mysql.comhem.se

Fix of fix for BUG#3339: Stored procedures in nonexistent schemas are uncallable.

Accidently worked on many platforms, but not all.
parent 39c752ea
...@@ -3588,7 +3588,7 @@ purposes internal to the MySQL server", MYF(0)); ...@@ -3588,7 +3588,7 @@ purposes internal to the MySQL server", MYF(0));
lex->sphead= 0; lex->sphead= 0;
goto error; goto error;
case SP_NO_DB_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; delete lex->sphead;
lex->sphead= 0; lex->sphead= 0;
goto error; goto error;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment