Commit 1efd1b15 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 19e54153
...@@ -31,7 +31,8 @@ struct mem_area_struct{ ...@@ -31,7 +31,8 @@ struct mem_area_struct{
}; };
/* Each memory area takes this many extra bytes for control information */ /* 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. */ 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