Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
d03a59c6
Commit
d03a59c6
authored
Oct 30, 2019
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
XtraDB 5.6.45-86.1
parent
d1e6b0bc
Changes
11
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
21 additions
and
19 deletions
+21
-19
mysql-test/suite/sys_vars/r/sysvars_innodb,32bit,xtradb.rdiff
...l-test/suite/sys_vars/r/sysvars_innodb,32bit,xtradb.rdiff
+1
-1
mysql-test/suite/sys_vars/r/sysvars_innodb,xtradb.rdiff
mysql-test/suite/sys_vars/r/sysvars_innodb,xtradb.rdiff
+1
-1
storage/xtradb/buf/buf0buf.cc
storage/xtradb/buf/buf0buf.cc
+2
-1
storage/xtradb/handler/ha_innodb.cc
storage/xtradb/handler/ha_innodb.cc
+6
-5
storage/xtradb/include/btr0sea.ic
storage/xtradb/include/btr0sea.ic
+2
-2
storage/xtradb/include/ha_prototypes.h
storage/xtradb/include/ha_prototypes.h
+1
-1
storage/xtradb/include/sync0rw.ic
storage/xtradb/include/sync0rw.ic
+2
-1
storage/xtradb/include/univ.i
storage/xtradb/include/univ.i
+2
-2
storage/xtradb/lock/lock0wait.cc
storage/xtradb/lock/lock0wait.cc
+1
-0
storage/xtradb/log/log0online.cc
storage/xtradb/log/log0online.cc
+3
-4
storage/xtradb/ut/ut0ut.cc
storage/xtradb/ut/ut0ut.cc
+0
-1
No files found.
mysql-test/suite/sys_vars/r/sysvars_innodb,32bit,xtradb.rdiff
View file @
d03a59c6
...
...
@@ -1215,7 +1215,7 @@
VARIABLE_NAME INNODB_VERSION
SESSION_VALUE NULL
-GLOBAL_VALUE 5.6.45
+GLOBAL_VALUE 5.6.4
4-86.0
+GLOBAL_VALUE 5.6.4
5-86.1
GLOBAL_VALUE_ORIGIN COMPILE-TIME
DEFAULT_VALUE NULL
VARIABLE_SCOPE GLOBAL
...
...
mysql-test/suite/sys_vars/r/sysvars_innodb,xtradb.rdiff
View file @
d03a59c6
...
...
@@ -685,7 +685,7 @@
VARIABLE_NAME INNODB_VERSION
SESSION_VALUE NULL
-GLOBAL_VALUE 5.6.45
+GLOBAL_VALUE 5.6.4
4-86.0
+GLOBAL_VALUE 5.6.4
5-86.1
GLOBAL_VALUE_ORIGIN COMPILE-TIME
DEFAULT_VALUE NULL
VARIABLE_SCOPE GLOBAL
...
...
storage/xtradb/buf/buf0buf.cc
View file @
d03a59c6
...
...
@@ -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
...
...
storage/xtradb/handler/ha_innodb.cc
View file @
d03a59c6
...
...
@@ -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
...
...
storage/xtradb/include/btr0sea.ic
View file @
d03a59c6
...
...
@@ -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);
...
...
storage/xtradb/include/ha_prototypes.h
View file @
d03a59c6
...
...
@@ -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
...
...
storage/xtradb/include/sync0rw.ic
View file @
d03a59c6
...
...
@@ -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
...
...
storage/xtradb/include/univ.i
View file @
d03a59c6
...
...
@@ -45,10 +45,10 @@ Created 1/20/1994 Heikki Tuuri
#
define
INNODB_VERSION_MAJOR
5
#
define
INNODB_VERSION_MINOR
6
#
define
INNODB_VERSION_BUGFIX
4
4
#
define
INNODB_VERSION_BUGFIX
4
5
#
ifndef
PERCONA_INNODB_VERSION
#
define
PERCONA_INNODB_VERSION
86.
0
#
define
PERCONA_INNODB_VERSION
86.
1
#
endif
/* Enable UNIV_LOG_ARCHIVE in XtraDB */
...
...
storage/xtradb/lock/lock0wait.cc
View file @
d03a59c6
...
...
@@ -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
,
...
...
storage/xtradb/log/log0online.cc
View file @
d03a59c6
...
...
@@ -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
)));
}
...
...
storage/xtradb/ut/ut0ut.cc
View file @
d03a59c6
...
...
@@ -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 */
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment