Skip to content

Commit 184e302

Browse files
author
Jan Lindström
committed
Fix compiler error if lz4 is not found on the system.
1 parent fa9f5f6 commit 184e302

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

storage/innobase/handler/ha_innodb.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16763,7 +16763,9 @@ static struct st_mysql_sys_var* innobase_system_variables[]= {
1676316763
MYSQL_SYSVAR(trim_pct),
1676416764
MYSQL_SYSVAR(compress_index_pages),
1676516765
MYSQL_SYSVAR(use_trim),
16766+
#ifdef HAVE_LZ4
1676616767
MYSQL_SYSVAR(use_lz4),
16768+
#endif
1676716769
NULL
1676816770
};
1676916771

storage/xtradb/handler/ha_innodb.cc

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18169,7 +18169,9 @@ static struct st_mysql_sys_var* innobase_system_variables[]= {
1816918169
MYSQL_SYSVAR(trim_pct),
1817018170
MYSQL_SYSVAR(compress_index_pages),
1817118171
MYSQL_SYSVAR(use_trim),
18172+
#ifdef HAVE_LZ4
1817218173
MYSQL_SYSVAR(use_lz4),
18174+
#endif
1817318175
NULL
1817418176
};
1817518177

0 commit comments

Comments
 (0)