diff options
author | heikki@donna.mysql.fi <> | 2001-06-05 21:49:03 +0300 |
---|---|---|
committer | heikki@donna.mysql.fi <> | 2001-06-05 21:49:03 +0300 |
commit | 2f302c44d9dbc129a252f4a227f82b8e626f186b (patch) | |
tree | edd023b47132a2c1a1eee94f2b58d133d1a7c1a9 /innobase | |
parent | bd916b422ff6ba5ecec8a202620d1898b0263d3b (diff) | |
download | mariadb-git-2f302c44d9dbc129a252f4a227f82b8e626f186b.tar.gz |
mem0pool.h Fix a bus error in aligment of longlong on Solaris
Diffstat (limited to 'innobase')
-rw-r--r-- | innobase/include/mem0pool.h | 3 |
1 files changed, 2 insertions, 1 deletions
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. */ |