mirror of
https://github.com/MariaDB/server.git
synced 2026-05-16 20:07:13 +02:00
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).
This commit is contained in:
parent
c026e2c006
commit
6e04af1b78
1 changed files with 0 additions and 15 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue