From 1efd1b1507b7b3041ae4977e63131b824c16194b Mon Sep 17 00:00:00 2001 From: unknown Date: Tue, 5 Jun 2001 21:49:03 +0300 Subject: mem0pool.h Fix a bus error in aligment of longlong on Solaris innobase/include/mem0pool.h: Fix a bus error in aligment of longlong on Solaris --- innobase/include/mem0pool.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'innobase/include/mem0pool.h') diff --git a/innobase/include/mem0pool.h b/innobase/include/mem0pool.h index 14198920bca..eb675b4a7f9 100644 --- a/innobase/include/mem0pool.h +++ b/innobase/include/mem0pool.h @@ -31,7 +31,8 @@ struct mem_area_struct{ }; /* Each memory area takes this many extra bytes for control information */ -#define MEM_AREA_EXTRA_SIZE (sizeof(struct mem_area_struct)) +#define MEM_AREA_EXTRA_SIZE (ut_calc_align(sizeof(struct mem_area_struct),\ + UNIV_MEM_ALIGNMENT)) /************************************************************************ Creates a memory pool. */ -- cgit v1.2.1