summaryrefslogtreecommitdiff
path: root/innobase/mem
diff options
context:
space:
mode:
authorheikki@hundin.mysql.fi <>2004-03-26 17:46:27 +0200
committerheikki@hundin.mysql.fi <>2004-03-26 17:46:27 +0200
commitd1622a941d6dc6659b3930721f242e1ac51ad502 (patch)
tree0ce4e2eddafbf392dfa285da83cd4ad174ea63b5 /innobase/mem
parenta0f629385fd3dd6bd9b96d7605f81a48637e026a (diff)
downloadmariadb-git-d1622a941d6dc6659b3930721f242e1ac51ad502.tar.gz
mem0dbg.c:
Let mem_current_allocated_memory be a global variable, because it is used in an .ic file if UNIV_MEM_DEBUG is defined
Diffstat (limited to 'innobase/mem')
-rw-r--r--innobase/mem/mem0dbg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/innobase/mem/mem0dbg.c b/innobase/mem/mem0dbg.c
index 1007f8413b4..d521143eb47 100644
--- a/innobase/mem/mem0dbg.c
+++ b/innobase/mem/mem0dbg.c
@@ -20,7 +20,7 @@ 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;
-static ulint mem_current_allocated_memory = 0;
+ulint mem_current_allocated_memory = 0;
static ulint mem_max_allocated_memory = 0;
/* Size of the hash table for memory management tracking */