Commit 8298965d authored by unknown's avatar unknown

NdbRecAttr.cpp:

  forgot hex prefix


ndb/src/ndbapi/NdbRecAttr.cpp:
  forgot hex prefix
parent 3bf126ed
...@@ -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