diff options
author | Michael Widenius <monty@askmonty.org> | 2011-09-14 12:48:08 +0300 |
---|---|---|
committer | Michael Widenius <monty@askmonty.org> | 2011-09-14 12:48:08 +0300 |
commit | 0e06d3c1073f3ac1576e7cdd8c2980c48a999bff (patch) | |
tree | aa03af8a0313573e68c9670519add9dae6231727 /storage/myisam | |
parent | 4139bba2817387233e126d9e48084fc0c60718e7 (diff) | |
download | mariadb-git-0e06d3c1073f3ac1576e7cdd8c2980c48a999bff.tar.gz |
Reset variable to not access it uninitialized
Diffstat (limited to 'storage/myisam')
-rw-r--r-- | storage/myisam/mi_test2.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/myisam/mi_test2.c b/storage/myisam/mi_test2.c index c463f0e3daa..444d1970913 100644 --- a/storage/myisam/mi_test2.c +++ b/storage/myisam/mi_test2.c @@ -836,6 +836,7 @@ end: puts("Locking used"); if (use_blob) puts("blobs used"); + bzero(&stats, sizeof(stats)); get_key_cache_statistics(dflt_key_cache, 0, &stats); printf("key cache status: \n\ blocks used:%10lu\n\ |