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:
pem@mysql.comhem.se 2004-07-23 13:34:06 +02:00
parent 39c752ea98
commit a4e0fa1113

View file

@ -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;