Commit 6e04af1b authored by Marko Mäkelä's avatar Marko Mäkelä

Remove dead code HAVE_LZO1X

MariaDB uses HAVE_LZO, not HAVE_LZO1X (which was never defined).
Also, the variable srv_lzo_disabled was never defined or read
(only declared and assigned to, in unreachable code).
parent c026e2c0
......@@ -109,11 +109,6 @@ Created 2/16/1996 Heikki Tuuri
#include "btr0scrub.h"
#include "ut0new.h"
#ifdef HAVE_LZO1X
#include <lzo/lzo1x.h>
extern bool srv_lzo_disabled;
#endif /* HAVE_LZO1X */
/** Log sequence number immediately after startup */
lsn_t srv_start_lsn;
/** Log sequence number at shutdown */
......@@ -1519,16 +1514,6 @@ innobase_start_or_create_for_mysql()
srv_use_doublewrite_buf = FALSE;
}
#ifdef HAVE_LZO1X
if (lzo_init() != LZO_E_OK) {
ib::warn() << "lzo_init() failed, support disabled";
srv_lzo_disabled = true;
} else {
ib::info() << "LZO1X support available";
srv_lzo_disabled = false;
}
#endif /* HAVE_LZO1X */
compile_time_assert(sizeof(ulint) == sizeof(void*));
#ifdef UNIV_DEBUG
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment