mirror of
https://github.com/MariaDB/server.git
synced 2025-08-09 22:24:09 +03:00
Fixed compiler warnings
sql/log.h: Fixed compiler warnings reported for gcc 2.7.1 storage/xtradb/handler/ha_innodb.cc: Remove not used variables
This commit is contained in:
@@ -477,8 +477,8 @@ class MYSQL_BIN_LOG: public TC_LOG, private MYSQL_LOG
|
|||||||
void mark_xids_active(uint xid_count);
|
void mark_xids_active(uint xid_count);
|
||||||
|
|
||||||
public:
|
public:
|
||||||
MYSQL_LOG::generate_name;
|
using MYSQL_LOG::generate_name;
|
||||||
MYSQL_LOG::is_open;
|
using MYSQL_LOG::is_open;
|
||||||
|
|
||||||
/* This is relay log */
|
/* This is relay log */
|
||||||
bool is_relay_log;
|
bool is_relay_log;
|
||||||
|
@@ -12562,7 +12562,7 @@ static MYSQL_SYSVAR_BOOL(use_sys_stats_table, innobase_use_sys_stats_table,
|
|||||||
"So you should use ANALYZE TABLE command intentionally.",
|
"So you should use ANALYZE TABLE command intentionally.",
|
||||||
NULL, NULL, FALSE);
|
NULL, NULL, FALSE);
|
||||||
|
|
||||||
#ifdef UNIV_DEBUG
|
#ifdef UNIV_DEBUG_never
|
||||||
static MYSQL_SYSVAR_ULONG(sys_stats_root_page, innobase_sys_stats_root_page,
|
static MYSQL_SYSVAR_ULONG(sys_stats_root_page, innobase_sys_stats_root_page,
|
||||||
PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY,
|
PLUGIN_VAR_RQCMDARG | PLUGIN_VAR_READONLY,
|
||||||
"Override the SYS_STATS root page id, 0 = no override (for testing only)",
|
"Override the SYS_STATS root page id, 0 = no override (for testing only)",
|
||||||
@@ -12785,7 +12785,7 @@ static MYSQL_SYSVAR_ULONG(read_ahead_threshold, srv_read_ahead_threshold,
|
|||||||
"trigger a readahead.",
|
"trigger a readahead.",
|
||||||
NULL, NULL, 56, 0, 64, 0);
|
NULL, NULL, 56, 0, 64, 0);
|
||||||
|
|
||||||
#ifdef UNIV_DEBUG
|
#ifdef UNIV_DEBUG_never
|
||||||
static MYSQL_SYSVAR_UINT(trx_rseg_n_slots_debug, trx_rseg_n_slots_debug,
|
static MYSQL_SYSVAR_UINT(trx_rseg_n_slots_debug, trx_rseg_n_slots_debug,
|
||||||
PLUGIN_VAR_RQCMDARG,
|
PLUGIN_VAR_RQCMDARG,
|
||||||
"Debug flags for InnoDB to limit TRX_RSEG_N_SLOTS for trx_rsegf_undo_find_free()",
|
"Debug flags for InnoDB to limit TRX_RSEG_N_SLOTS for trx_rsegf_undo_find_free()",
|
||||||
|
Reference in New Issue
Block a user