XtraDB 5.6.45-86.1
This commit is contained in:
parent
d1e6b0bcff
commit
d03a59c6ff
@ -1215,7 +1215,7 @@
|
||||
VARIABLE_NAME INNODB_VERSION
|
||||
SESSION_VALUE NULL
|
||||
-GLOBAL_VALUE 5.6.45
|
||||
+GLOBAL_VALUE 5.6.44-86.0
|
||||
+GLOBAL_VALUE 5.6.45-86.1
|
||||
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
||||
DEFAULT_VALUE NULL
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
|
@ -685,7 +685,7 @@
|
||||
VARIABLE_NAME INNODB_VERSION
|
||||
SESSION_VALUE NULL
|
||||
-GLOBAL_VALUE 5.6.45
|
||||
+GLOBAL_VALUE 5.6.44-86.0
|
||||
+GLOBAL_VALUE 5.6.45-86.1
|
||||
GLOBAL_VALUE_ORIGIN COMPILE-TIME
|
||||
DEFAULT_VALUE NULL
|
||||
VARIABLE_SCOPE GLOBAL
|
||||
|
@ -124,7 +124,8 @@ _increment_page_get_statistics(buf_block_t* block, trx_t* trx)
|
||||
byte block_hash_offset;
|
||||
|
||||
ut_ad(block);
|
||||
ut_ad(trx && trx->take_stats);
|
||||
ut_ad(trx);
|
||||
ut_ad(trx->take_stats);
|
||||
|
||||
if (!trx->distinct_page_access_hash) {
|
||||
trx->distinct_page_access_hash
|
||||
|
@ -2136,12 +2136,13 @@ UNIV_INTERN
|
||||
ulong
|
||||
thd_flush_log_at_trx_commit(
|
||||
/*================================*/
|
||||
void* thd)
|
||||
THD* thd)
|
||||
{
|
||||
/* THDVAR cannot be used in xtrabackup,
|
||||
plugin variables for innodb are not loaded,
|
||||
this makes xtrabackup crash when trying to use them. */
|
||||
return (thd || !IS_XTRABACKUP())? THDVAR((THD*)thd, flush_log_at_trx_commit) : FALSE;
|
||||
return (thd || !IS_XTRABACKUP())
|
||||
? THDVAR(thd, flush_log_at_trx_commit) : 0;
|
||||
}
|
||||
|
||||
/********************************************************************//**
|
||||
@ -19003,7 +19004,7 @@ innodb_sched_priority_master_update(
|
||||
push_warning_printf(thd, Sql_condition::WARN_LEVEL_WARN,
|
||||
ER_WRONG_ARGUMENTS,
|
||||
"Failed to set the master thread "
|
||||
"priority to %lu, "
|
||||
"priority to %lu, "
|
||||
"the nice is %lu and the current priority is %lu", priority,
|
||||
nice, actual_priority);
|
||||
}
|
||||
@ -21134,14 +21135,14 @@ static MYSQL_SYSVAR_BOOL(force_primary_key,
|
||||
"Do not allow to create table without primary key (off by default)",
|
||||
NULL, NULL, FALSE);
|
||||
|
||||
const char *corrupt_table_action_names[]=
|
||||
static const char *corrupt_table_action_names[]=
|
||||
{
|
||||
"assert", /* 0 */
|
||||
"warn", /* 1 */
|
||||
"salvage", /* 2 */
|
||||
NullS
|
||||
};
|
||||
TYPELIB corrupt_table_action_typelib=
|
||||
static TYPELIB corrupt_table_action_typelib=
|
||||
{
|
||||
array_elements(corrupt_table_action_names) - 1, "corrupt_table_action_typelib",
|
||||
corrupt_table_action_names, NULL
|
||||
|
@ -104,8 +104,8 @@ btr_search_get_latch(
|
||||
/*=================*/
|
||||
const dict_index_t* index) /*!< in: index */
|
||||
{
|
||||
ut_ad(index->search_latch >= btr_search_latch_arr &&
|
||||
index->search_latch < btr_search_latch_arr +
|
||||
ut_ad(index->search_latch >= btr_search_latch_arr);
|
||||
ut_ad(index->search_latch < btr_search_latch_arr +
|
||||
btr_search_index_num);
|
||||
|
||||
return(index->search_latch);
|
||||
|
@ -418,7 +418,7 @@ innobase_get_table_cache_size(void);
|
||||
ulong
|
||||
thd_flush_log_at_trx_commit(
|
||||
/*================================*/
|
||||
void* thd);
|
||||
THD* thd);
|
||||
|
||||
/**********************************************************************//**
|
||||
Get the current setting of the lower_case_table_names global parameter from
|
||||
|
@ -453,7 +453,8 @@ rw_lock_higher_prio_waiters_exist(
|
||||
return(false);
|
||||
}
|
||||
|
||||
ut_ad(priority_lock && !high_priority);
|
||||
ut_ad(priority_lock);
|
||||
ut_ad(!high_priority);
|
||||
|
||||
prio_rw_lock_t *prio_rw_lock = (prio_rw_lock_t *) lock;
|
||||
return prio_rw_lock->high_priority_wait_ex_waiter > 0
|
||||
|
@ -45,10 +45,10 @@ Created 1/20/1994 Heikki Tuuri
|
||||
|
||||
#define INNODB_VERSION_MAJOR 5
|
||||
#define INNODB_VERSION_MINOR 6
|
||||
#define INNODB_VERSION_BUGFIX 44
|
||||
#define INNODB_VERSION_BUGFIX 45
|
||||
|
||||
#ifndef PERCONA_INNODB_VERSION
|
||||
#define PERCONA_INNODB_VERSION 86.0
|
||||
#define PERCONA_INNODB_VERSION 86.1
|
||||
#endif
|
||||
|
||||
/* Enable UNIV_LOG_ARCHIVE in XtraDB */
|
||||
|
@ -207,6 +207,7 @@ functions to get some info from THD.
|
||||
@param[in] trx requested trx
|
||||
@param[in] blocking blocking info array
|
||||
@param[in] blocking_count blocking info array size */
|
||||
static
|
||||
void
|
||||
print_lock_wait_timeout(
|
||||
const trx_t &trx,
|
||||
|
@ -91,7 +91,7 @@ static const char* bmp_file_name_stem = "ib_modified_log_";
|
||||
/** File name template for bitmap files. The 1st format tag is a directory
|
||||
name, the 2nd tag is the stem, the 3rd tag is a file sequence number, the 4th
|
||||
tag is the start LSN for the file. */
|
||||
static const char* bmp_file_name_template = "%s%s%lu_%llu.xdb";
|
||||
static const char* bmp_file_name_template = "%s%s%lu_" LSN_PF ".xdb";
|
||||
|
||||
/* On server startup with empty database srv_start_lsn == 0, in
|
||||
which case the first LSN of actual log records will be this. */
|
||||
@ -586,9 +586,8 @@ log_online_is_bitmap_file(
|
||||
|
||||
return ((file_info->type == OS_FILE_TYPE_FILE
|
||||
|| file_info->type == OS_FILE_TYPE_LINK)
|
||||
&& (sscanf(file_info->name, "%[a-z_]%lu_%llu.xdb", stem,
|
||||
bitmap_file_seq_num,
|
||||
(unsigned long long *)bitmap_file_start_lsn) == 3)
|
||||
&& (sscanf(file_info->name, "%[a-z_]%lu_" LSN_PF ".xdb", stem,
|
||||
bitmap_file_seq_num, bitmap_file_start_lsn) == 3)
|
||||
&& (!strcmp(stem, bmp_file_name_stem)));
|
||||
}
|
||||
|
||||
|
@ -40,7 +40,6 @@ Created 5/11/1994 Heikki Tuuri
|
||||
#include <ctype.h>
|
||||
|
||||
#ifndef UNIV_HOTBACKUP
|
||||
# include "btr0types.h"
|
||||
# include "trx0trx.h"
|
||||
# include "ha_prototypes.h"
|
||||
# include "mysql_com.h" /* NAME_LEN */
|
||||
|
Loading…
x
Reference in New Issue
Block a user