summaryrefslogtreecommitdiff
path: root/innobase
diff options
context:
space:
mode:
authorunknown <heikki@donna.mysql.fi>2001-06-05 21:49:03 +0300
committerunknown <heikki@donna.mysql.fi>2001-06-05 21:49:03 +0300
commit1efd1b1507b7b3041ae4977e63131b824c16194b (patch)
treeedd023b47132a2c1a1eee94f2b58d133d1a7c1a9 /innobase
parent19e54153855391f3843ca0201687b3ff81630ab1 (diff)
downloadmariadb-git-1efd1b1507b7b3041ae4977e63131b824c16194b.tar.gz
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
Diffstat (limited to 'innobase')
-rw-r--r--innobase/include/mem0pool.h3
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. */