summaryrefslogtreecommitdiff
path: root/sql/sql_list.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-07-26 21:33:42 +0200
committerunknown <serg@serg.mylan>2004-07-26 21:33:42 +0200
commitb66a13eeb8f4a9bef7bda5a9d035328860fb7718 (patch)
tree824fc3ab343b8b8696b48d9b167163feabf254ad /sql/sql_list.h
parent062ac038dfd9332d121287aa4b91eaff0477aa34 (diff)
downloadmariadb-git-b66a13eeb8f4a9bef7bda5a9d035328860fb7718.tar.gz
safemalloc always resets the free'd memory, not only when PEDANTIC_SAFEMALLOC
Diffstat (limited to 'sql/sql_list.h')
-rw-r--r--sql/sql_list.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_list.h b/sql/sql_list.h
index 22e9ed37386..c3b9c7f87ea 100644
--- a/sql/sql_list.h
+++ b/sql/sql_list.h
@@ -19,9 +19,9 @@
#pragma interface /* gcc class implementation */
#endif
-/* mysql standard class memoryallocator */
+/* mysql standard class memory allocator */
-#ifdef PEDANTIC_SAFEMALLOC
+#ifdef SAFEMALLOC
#define TRASH(XX,YY) bfill((XX), (YY), 0x8F)
#else
#define TRASH(XX,YY) /* no-op */