summaryrefslogtreecommitdiff
path: root/include/my_sys.h
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2004-03-02 22:22:11 +0100
committerunknown <serg@serg.mylan>2004-03-02 22:22:11 +0100
commitaff2963c7ffcb6b94a32c2adb287bbeb5e209e96 (patch)
tree80fc0787c2e73ce851e3bd480cb1f5edf37eee02 /include/my_sys.h
parentbbb3d27a5d8528eec7100210457a254b72818743 (diff)
parent7b68eaafda1c553bc519e797d6c4dbf5847d3bbe (diff)
downloadmariadb-git-aff2963c7ffcb6b94a32c2adb287bbeb5e209e96.tar.gz
Merge bk-internal:/home/bk/mysql-4.1/
into serg.mylan:/usr/home/serg/Abk/mysql-4.1 include/my_sys.h: Auto merged
Diffstat (limited to 'include/my_sys.h')
-rw-r--r--include/my_sys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/my_sys.h b/include/my_sys.h
index 3e34e1a9ac3..41bd4ba5b2d 100644
--- a/include/my_sys.h
+++ b/include/my_sys.h
@@ -714,6 +714,7 @@ extern void my_free_lock(byte *ptr,myf flags);
#define my_free_lock(A,B) my_free((A),(B))
#endif
#define alloc_root_inited(A) ((A)->min_malloc != 0)
+#define clear_alloc_root(A) bzero((void *) (A), sizeof(MEM_ROOT))
extern void init_alloc_root(MEM_ROOT *mem_root, uint block_size,
uint pre_alloc_size);
extern gptr alloc_root(MEM_ROOT *mem_root,unsigned int Size);