Details
-
Bug
-
Status: Closed (View Workflow)
-
Minor
-
Resolution: Fixed
-
10.1.0
-
None
Description
struct os_aio_slot_t{
|
...
|
#ifdef HAVE_LZO
|
byte lzo_mem[LZO1X_1_15_MEM_COMPRESS];
|
#else
|
byte lzo_mem[1]; /* Temporal memory used by LZO */
|
#endif
|
Modify array to be dynamically allocated and allocate if and only if LZO is really used.
10.1
commit 3bca01930aa5298cf6a8d602e66ddcea054edf50
Author: Jan Lindström <jan.lindstrom@skysql.com>
Date: Wed Jun 25 08:46:54 2014 +0300
MDEV-6361: innodb_compression_algorithm configuration variable canbe set to unsupported value.
MDEV-6350: Excessive unnecessary memory allocation at InnoDB/XtraDBstartup if LZO is installed.