summaryrefslogtreecommitdiff
path: root/mysys
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2016-05-03 12:21:17 +0400
committerSergey Vojtovich <svoj@mariadb.org>2016-06-07 13:02:31 +0400
commit9de6708390885415dc6737fcdb96a53ce565a7c2 (patch)
tree6a3d770bf5c5f83f257c036c834a88ded55d5222 /mysys
parent49ad08450369dbf7ee85759786b6b844e1460471 (diff)
downloadmariadb-git-9de6708390885415dc6737fcdb96a53ce565a7c2.tar.gz
MDEV-9857 - CACHE_LINE_SIZE in innodb should be 128 on POWER
Replaced hard-coded cache line size. Changes based on Daniel Black's work.
Diffstat (limited to 'mysys')
-rw-r--r--mysys/lf_alloc-pin.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/mysys/lf_alloc-pin.c b/mysys/lf_alloc-pin.c
index b349ef88ed1..932dfe0f254 100644
--- a/mysys/lf_alloc-pin.c
+++ b/mysys/lf_alloc-pin.c
@@ -121,7 +121,6 @@ void lf_pinbox_init(LF_PINBOX *pinbox, uint free_ptr_offset,
lf_pinbox_free_func *free_func, void *free_func_arg)
{
DBUG_ASSERT(free_ptr_offset % sizeof(void *) == 0);
- compile_time_assert(sizeof(LF_PINS) == 128);
lf_dynarray_init(&pinbox->pinarray, sizeof(LF_PINS));
pinbox->pinstack_top_ver= 0;
pinbox->pins_in_array= 0;