summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <heikki@hundin.mysql.fi>2004-06-19 12:12:00 +0300
committerunknown <heikki@hundin.mysql.fi>2004-06-19 12:12:00 +0300
commit94df4f36dd315f569c3d52979475b004b8fefceb (patch)
tree561fe6d2ec7e2eb46ba7a3e9e137d3b312d23e2c /innobase
parentc02eb02cd4e39e5c4f5e3b0a1bd4dc74d8fca2fe (diff)
downloadmariadb-git-94df4f36dd315f569c3d52979475b004b8fefceb.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 innobase/mem/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')
-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