NdbRecAttr.cpp:

  forgot hex prefix
parent 1f4c79ec
...@@ -155,9 +155,11 @@ ndbrecattr_print_string(NdbOut& out, const char *type, ...@@ -155,9 +155,11 @@ ndbrecattr_print_string(NdbOut& out, const char *type,
if (printable) if (printable)
out.print("%.*s", len, ref); out.print("%.*s", len, ref);
else else
{
out.print("0x");
for (i=0; i < len; i++) for (i=0; i < len; i++)
out.print("%02X", (int)ref[i]); out.print("%02X", (int)ref[i]);
}
if (len != (int)sz) if (len != (int)sz)
{ {
out.print("["); out.print("[");
......
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