Commit 3783a74d authored by unknown's avatar unknown

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

Accidently worked on many platforms, but not all.


sql/sql_parse.cc:
  Give the right pointer arg to net_printf.
parent 8b30e4a7
...@@ -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