Commit 2f302c44 authored by heikki@donna.mysql.fi's avatar heikki@donna.mysql.fi
Browse files

mem0pool.h Fix a bus error in aligment of longlong on Solaris

parent bd916b42
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -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. */