Browse Source

Fix compiler error if LZO is not installed.

pull/3/head
Jan Lindström 12 years ago
parent
commit
192790e0e9
  1. 2
      storage/innobase/os/os0file.cc
  2. 2
      storage/xtradb/os/os0file.cc

2
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
};

2
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
};

Loading…
Cancel
Save