Commit 217f9fa1 authored by unknown's avatar unknown

ha_ndbcluster.cc:

  BUG#12040 Fixed compile failure by using %p instead of %x to print a pointer in DBUG_PRINT


sql/ha_ndbcluster.cc:
  BUG#12040 Fixed compile failure by using %p instead of %x to print a pointer in DBUG_PRINT
parent dbec94d1
...@@ -707,8 +707,8 @@ int ha_ndbcluster::set_ndb_value(NdbOperation *ndb_op, Field *field, ...@@ -707,8 +707,8 @@ int ha_ndbcluster::set_ndb_value(NdbOperation *ndb_op, Field *field,
blob_ptr= (char*)""; blob_ptr= (char*)"";
} }
DBUG_PRINT("value", ("set blob ptr=%x len=%u", DBUG_PRINT("value", ("set blob ptr=%p len=%u",
(unsigned)blob_ptr, blob_len)); blob_ptr, blob_len));
DBUG_DUMP("value", (char*)blob_ptr, min(blob_len, 26)); DBUG_DUMP("value", (char*)blob_ptr, min(blob_len, 26));
if (set_blob_value) if (set_blob_value)
......
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