Commit 9fa257cd authored by unknown's avatar unknown

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
parent 6b450f1b
......@@ -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. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment