Commit 5d1a7fe7 authored by unknown's avatar unknown

Fix merge of BUG10950 and jonas' message improvements.

parent b0dee441
...@@ -343,11 +343,9 @@ ndb_mgm_call(NdbMgmHandle handle, const ParserRow<ParserDummy> *command_reply, ...@@ -343,11 +343,9 @@ ndb_mgm_call(NdbMgmHandle handle, const ParserRow<ParserDummy> *command_reply,
/** /**
* Print some info about why the parser returns NULL * Print some info about why the parser returns NULL
*/ */
ndbout << "Error in mgm protocol parser. " fprintf(handle->errstream,
<< "cmd: '" << cmd "Error in mgm protocol parser. cmd: >%s< status: %d curr: %d\n",
<< "' status=" << (Uint32)ctx.m_status cmd, (Uint32)ctx.m_status, ctx.m_currentToken);
<< ", curr=" << ctx.m_currentToken
<< endl;
DBUG_PRINT("info",("ctx.status: %d, ctx.m_currentToken: %s", DBUG_PRINT("info",("ctx.status: %d, ctx.m_currentToken: %s",
ctx.m_status, ctx.m_currentToken)); ctx.m_status, ctx.m_currentToken));
} }
......
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