diff options
Diffstat (limited to 'mysys/my_compress.c')
-rw-r--r-- | mysys/my_compress.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mysys/my_compress.c b/mysys/my_compress.c index bc9f8317487..ab17b10e72c 100644 --- a/mysys/my_compress.c +++ b/mysys/my_compress.c @@ -181,8 +181,9 @@ int packfrm(uchar *data, size_t len, if (my_compress((uchar*)data, &org_len, &comp_len)) goto err; - DBUG_PRINT("info", ("org_len: %lu comp_len: %lu", (ulong) org_len, (ulong) comp_len)); - DBUG_DUMP("compressed", data, org_len); + DBUG_PRINT("info", ("org_len: %lu comp_len: %lu", (ulong) org_len, + (ulong) comp_len)); + DBUG_DUMP("compressed", (char*)data, org_len); error= 2; blob_len= BLOB_HEADER + org_len; |