Commit 12af44fa authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel
Browse files

#4457 fix gcc optimized compile problem; memory stats uninitialized refs[t:4457]

git-svn-id: file:///svn/toku/tokudb@39413 c7de825b-a66e-492c-adef-691d508d4ae1
parent 997a2d29
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -2101,6 +2101,7 @@ memory_get_status(void) {
    if (!memory_status.initialized)
	memory_status_init();
    LOCAL_MEMORY_STATUS_S local_memstat;
    toku_memory_get_status(&local_memstat);
    MEMORY_STATUS_VALUE(MEMORY_MALLOC_COUNT) = local_memstat.malloc_count;
    MEMORY_STATUS_VALUE(MEMORY_FREE_COUNT) = local_memstat.free_count;  
    MEMORY_STATUS_VALUE(MEMORY_REALLOC_COUNT) = local_memstat.realloc_count;