summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/mem-pool.c
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/mem-pool.c')
-rw-r--r--libglusterfs/src/mem-pool.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/libglusterfs/src/mem-pool.c b/libglusterfs/src/mem-pool.c
index 76b62902317..a8eb985b8a8 100644
--- a/libglusterfs/src/mem-pool.c
+++ b/libglusterfs/src/mem-pool.c
@@ -51,6 +51,11 @@ gf_mem_acct_enable_set ()
char *opt = NULL;
long val = -1;
+#ifdef DEBUG
+ gf_mem_acct_enable = 1;
+ return;
+#endif
+
opt = getenv (GLUSTERFS_ENV_MEM_ACCT_STR);
if (!opt)