Commit 0e06d3c1 authored by Michael Widenius's avatar Michael Widenius

Reset variable to not access it uninitialized

parent 4139bba2
...@@ -836,6 +836,7 @@ end: ...@@ -836,6 +836,7 @@ end:
puts("Locking used"); puts("Locking used");
if (use_blob) if (use_blob)
puts("blobs used"); puts("blobs used");
bzero(&stats, sizeof(stats));
get_key_cache_statistics(dflt_key_cache, 0, &stats); get_key_cache_statistics(dflt_key_cache, 0, &stats);
printf("key cache status: \n\ printf("key cache status: \n\
blocks used:%10lu\n\ blocks used:%10lu\n\
......
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