summaryrefslogtreecommitdiff
path: root/innobase/mem
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2004-06-19 12:12:00 +0300
committerheikki@hundin.mysql.fi <>2004-06-19 12:12:00 +0300
commit3cd6299b226da5e24e728e18a40cf0d28202e2b0 (patch)
tree561fe6d2ec7e2eb46ba7a3e9e137d3b312d23e2c /innobase/mem
parent64f1cc46e970d3c5dc143948dc206c6bf424ea7e (diff)
downloadmariadb-git-3cd6299b226da5e24e728e18a40cf0d28202e2b0.tar.gz
mem0dbg.c:
InnoDB with UNIV_MEM_DEBUG did not compile because a global variable was forgotten when we put back mem_print_info() functions 2 days ago; add that variable
Diffstat (limited to 'innobase/mem')
-rw-r--r--innobase/mem/mem0dbg.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/innobase/mem/mem0dbg.c b/innobase/mem/mem0dbg.c
index 0a56d8dbadf..5ce7bc9f47d 100644
--- a/innobase/mem/mem0dbg.c
+++ b/innobase/mem/mem0dbg.c
@@ -20,8 +20,9 @@ Protected by mem_hash_mutex above. */
static ulint mem_n_created_heaps = 0;
static ulint mem_n_allocations = 0;
static ulint mem_total_allocated_memory = 0;
-ulint mem_current_allocated_memory = 0;
+ulint mem_current_allocated_memory = 0;
static ulint mem_max_allocated_memory = 0;
+static ulint mem_last_print_info = 0;
/* Size of the hash table for memory management tracking */
#define MEM_HASH_SIZE 997