Commit f025ce2c authored by marko's avatar marko

ut_print_buf(): Add a Valgrind check that the buffer is wholly defined.

parent cc78f6ed
......@@ -345,6 +345,8 @@ ut_print_buf(
const byte* data;
ulint i;
UNIV_MEM_ASSERT_RW(buf, len);
fprintf(file, " len %lu; hex ", len);
for (data = (const byte*)buf, i = 0; i < len; i++) {
......
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