From 76c6cd033755f318abc547528d00b6f0f2aaefdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jan=20Lindstr=C3=B6m?= Date: Thu, 22 May 2014 21:05:35 +0300 Subject: [PATCH] Fixed compiler error if LZO is not installed. --- storage/innobase/os/os0file.cc | 2 +- storage/xtradb/os/os0file.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/storage/innobase/os/os0file.cc b/storage/innobase/os/os0file.cc index f87b4ce6d7a..68d522d5746 100644 --- a/storage/innobase/os/os0file.cc +++ b/storage/innobase/os/os0file.cc @@ -228,7 +228,7 @@ struct os_aio_slot_t{ #ifdef HAVE_LZO byte lzo_mem[LZO1X_1_15_MEM_COMPRESS]; #else - byte lzo_mem; /* Temporal memory used by LZO */ + byte lzo_mem[1]; /* Temporal memory used by LZO */ #endif }; diff --git a/storage/xtradb/os/os0file.cc b/storage/xtradb/os/os0file.cc index e837e2e66ae..ba825ddad8f 100644 --- a/storage/xtradb/os/os0file.cc +++ b/storage/xtradb/os/os0file.cc @@ -237,7 +237,7 @@ struct os_aio_slot_t{ #ifdef HAVE_LZO byte lzo_mem[LZO1X_1_15_MEM_COMPRESS]; #else - byte lzo_mem; /* Temporal memory used by LZO */ + byte lzo_mem[1]; /* Temporal memory used by LZO */ #endif };