diff options
author | unknown <stewart@mysql.com> | 2005-08-19 00:48:03 +1000 |
---|---|---|
committer | unknown <stewart@mysql.com> | 2005-08-19 00:48:03 +1000 |
commit | 5d1a7fe7e93af711c0006ae8baf991e7c128d551 (patch) | |
tree | 7b667c9a5e069a99f3928304a9118c79d9ed6527 /ndb | |
parent | b0dee441164b751c6393f08319c063a1a70d0e32 (diff) | |
download | mariadb-git-5d1a7fe7e93af711c0006ae8baf991e7c128d551.tar.gz |
Fix merge of BUG10950 and jonas' message improvements.
Diffstat (limited to 'ndb')
-rw-r--r-- | ndb/src/mgmapi/mgmapi.cpp | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/ndb/src/mgmapi/mgmapi.cpp b/ndb/src/mgmapi/mgmapi.cpp index 6551ca24ee2..c10eb073855 100644 --- a/ndb/src/mgmapi/mgmapi.cpp +++ b/ndb/src/mgmapi/mgmapi.cpp @@ -343,11 +343,9 @@ ndb_mgm_call(NdbMgmHandle handle, const ParserRow<ParserDummy> *command_reply, /** * Print some info about why the parser returns NULL */ - ndbout << "Error in mgm protocol parser. " - << "cmd: '" << cmd - << "' status=" << (Uint32)ctx.m_status - << ", curr=" << ctx.m_currentToken - << endl; + fprintf(handle->errstream, + "Error in mgm protocol parser. cmd: >%s< status: %d curr: %d\n", + cmd, (Uint32)ctx.m_status, ctx.m_currentToken); DBUG_PRINT("info",("ctx.status: %d, ctx.m_currentToken: %s", ctx.m_status, ctx.m_currentToken)); } |