summaryrefslogtreecommitdiff
path: root/storage/xtradb/include/mem0mem.ic
diff options
context:
space:
mode:
Diffstat (limited to 'storage/xtradb/include/mem0mem.ic')
-rw-r--r--storage/xtradb/include/mem0mem.ic4
1 files changed, 0 insertions, 4 deletions
diff --git a/storage/xtradb/include/mem0mem.ic b/storage/xtradb/include/mem0mem.ic
index d214c3fe6c9..c70615e1ca9 100644
--- a/storage/xtradb/include/mem0mem.ic
+++ b/storage/xtradb/include/mem0mem.ic
@@ -209,10 +209,6 @@ mem_heap_alloc(
buf = (byte*)buf + MEM_FIELD_HEADER_SIZE;
#endif
-#ifdef UNIV_SET_MEM_TO_ZERO
- UNIV_MEM_ALLOC(buf, n);
- memset(buf, '\0', n);
-#endif
UNIV_MEM_ALLOC(buf, n);
return(buf);
}