diff options
author | unknown <pem@mysql.comhem.se> | 2004-07-23 13:34:06 +0200 |
---|---|---|
committer | unknown <pem@mysql.comhem.se> | 2004-07-23 13:34:06 +0200 |
commit | 3783a74dcd1447579dfa4d876a58a5842b03c797 (patch) | |
tree | fe79f3fa30213cf5e3d1049d9419b18fb74e65c0 | |
parent | 8b30e4a7f588ba1b14ceeda73d23c991ac522aa1 (diff) | |
download | mariadb-git-3783a74dcd1447579dfa4d876a58a5842b03c797.tar.gz |
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.
-rw-r--r-- | sql/sql_parse.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index b0e9a8ef071..7f42d6052d9 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -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; |