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
d902d43c
Commit
d902d43c
authored
Jul 06, 2017
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.1 into 10.2
parents
99d52c45
2b5c9bc2
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
17 additions
and
25 deletions
+17
-25
mysql-test/include/binlog_parallel_replication_marks.test
mysql-test/include/binlog_parallel_replication_marks.test
+1
-6
mysql-test/suite/binlog/r/binlog_parallel_replication_marks_row.result
...ite/binlog/r/binlog_parallel_replication_marks_row.result
+0
-3
mysql-test/suite/binlog/r/binlog_parallel_replication_marks_stm_mix.result
...binlog/r/binlog_parallel_replication_marks_stm_mix.result
+0
-3
mysql-test/suite/sys_vars/r/sysvars_innodb,32bit,xtradb.rdiff-disabled
...ite/sys_vars/r/sysvars_innodb,32bit,xtradb.rdiff-disabled
+1
-1
mysql-test/suite/sys_vars/r/sysvars_innodb,xtradb.rdiff-disabled
...est/suite/sys_vars/r/sysvars_innodb,xtradb.rdiff-disabled
+1
-1
sql/sql_explain.cc
sql/sql_explain.cc
+5
-2
storage/innobase/page/page0zip.cc
storage/innobase/page/page0zip.cc
+4
-4
storage/xtradb/page/page0zip.cc
storage/xtradb/page/page0zip.cc
+5
-5
No files found.
mysql-test/include/binlog_parallel_replication_marks.test
View file @
d902d43c
...
...
@@ -7,10 +7,6 @@
RESET
MASTER
;
--
source
include
/
wait_for_binlog_checkpoint
.
inc
set
time_zone
=
"+02:00"
;
--
let
$stable_stamp
=
`SELECT UNIX_TIMESTAMP("2020-01-21 15:32:22")`
eval
set
timestamp
=
$stable_stamp
;
CREATE
TABLE
t1
(
a
INT
PRIMARY
KEY
,
b
INT
)
ENGINE
=
InnoDB
;
--
let
$binlog_pos1
=
query_get_value
(
SHOW
MASTER
STATUS
,
Position
,
1
)
/* GTID */
INSERT
INTO
t1
VALUES
(
1
,
0
);
...
...
@@ -42,7 +38,6 @@ CREATE TABLE t1 (a INT PRIMARY KEY, b INT) ENGINE=InnoDB;
/* GTID */
INSERT
INTO
t1
VALUES
(
9
,
5
,
1
);
/* GTID */
COMMIT
;
connect
(
tmp_con
,
localhost
,
root
,,);
eval
set
timestamp
=
$stable_stamp
;
/* GTID */
INSERT
INTO
t1
VALUES
(
10
,
6
,
0
);
/* GTID */
BEGIN
;
/* GTID */
CREATE
TEMPORARY
TABLE
t5
(
a
INT
PRIMARY
KEY
)
ENGINE
=
InnoDB
;
...
...
@@ -72,7 +67,7 @@ my $file= $ENV{'OUTPUT_FILE'};
open
F
,
"<"
,
$file
or
die
"Unable to open file '
$file
': $!
\n
"
;
while
(
<
F
>
)
{
s
/^
#\d+ \d+:\d+:\d+ /# /;
s
/^
#\d+
+
\d+:\d+:\d+ /# /;
s
/
GTID
\d
+-
\d
+-
\d
+/
GTID
#-#-#/;
s
/
end_log_pos
\d
+/
end_log_pos
#/;
s
/
table
id
\d
+/
table
id
#/;
...
...
mysql-test/suite/binlog/r/binlog_parallel_replication_marks_row.result
View file @
d902d43c
RESET MASTER;
set time_zone="+02:00";
set timestamp=1579613542;
CREATE TABLE t1 (a INT PRIMARY KEY, b INT) ENGINE=InnoDB;
/* GTID */ INSERT INTO t1 VALUES (1,0);
/* GTID */ BEGIN;
...
...
@@ -31,7 +29,6 @@ CREATE TABLE t1 (a INT PRIMARY KEY, b INT) ENGINE=InnoDB;
/* GTID */ INSERT INTO t1 VALUES (9, 5, 1);
/* GTID */ COMMIT;
connect tmp_con,localhost,root,,;
set timestamp=1579613542;
/* GTID */ INSERT INTO t1 VALUES (10, 6, 0);
/* GTID */ BEGIN;
/* GTID */ CREATE TEMPORARY TABLE t5 (a INT PRIMARY KEY) ENGINE=InnoDB;
...
...
mysql-test/suite/binlog/r/binlog_parallel_replication_marks_stm_mix.result
View file @
d902d43c
RESET MASTER;
set time_zone="+02:00";
set timestamp=1579613542;
CREATE TABLE t1 (a INT PRIMARY KEY, b INT) ENGINE=InnoDB;
/* GTID */ INSERT INTO t1 VALUES (1,0);
/* GTID */ BEGIN;
...
...
@@ -31,7 +29,6 @@ CREATE TABLE t1 (a INT PRIMARY KEY, b INT) ENGINE=InnoDB;
/* GTID */ INSERT INTO t1 VALUES (9, 5, 1);
/* GTID */ COMMIT;
connect tmp_con,localhost,root,,;
set timestamp=1579613542;
/* GTID */ INSERT INTO t1 VALUES (10, 6, 0);
/* GTID */ BEGIN;
/* GTID */ CREATE TEMPORARY TABLE t5 (a INT PRIMARY KEY) ENGINE=InnoDB;
...
...
mysql-test/suite/sys_vars/r/sysvars_innodb,32bit,xtradb.rdiff-disabled
View file @
d902d43c
...
...
@@ -705,7 +705,7 @@
+COMMAND_LINE_ARGUMENT REQUIRED
+VARIABLE_NAME INNODB_LOG_COMPRESSED_PAGES
SESSION_VALUE NULL
GLOBAL_VALUE O
FF
GLOBAL_VALUE O
N
GLOBAL_VALUE_ORIGIN COMPILE-TIME
@@ -1397,7 +1677,7 @@
GLOBAL_VALUE_ORIGIN CONFIG
...
...
mysql-test/suite/sys_vars/r/sysvars_innodb,xtradb.rdiff-disabled
View file @
d902d43c
...
...
@@ -379,7 +379,7 @@
+COMMAND_LINE_ARGUMENT REQUIRED
VARIABLE_NAME INNODB_LOG_COMPRESSED_PAGES
SESSION_VALUE NULL
GLOBAL_VALUE O
FF
GLOBAL_VALUE O
N
@@ -1447,6 +1727,34 @@
ENUM_VALUE_LIST NULL
READ_ONLY NO
...
...
sql/sql_explain.cc
View file @
d902d43c
...
...
@@ -350,10 +350,13 @@ int print_explain_row(select_result_sink *result,
item_list
.
push_back
(
new
(
mem_root
)
Item_string_sys
(
thd
,
jtype_str
),
mem_root
);
/* 'possible_keys' */
/* 'possible_keys'
The buffer must not be deallocated before we call send_data, otherwise
we may end up reading freed memory.
*/
StringBuffer
<
64
>
possible_keys_buf
;
if
(
possible_keys
&&
!
possible_keys
->
is_empty
())
{
StringBuffer
<
64
>
possible_keys_buf
;
push_string_list
(
thd
,
&
item_list
,
*
possible_keys
,
&
possible_keys_buf
);
}
else
...
...
storage/innobase/page/page0zip.cc
View file @
d902d43c
...
...
@@ -66,12 +66,12 @@ page_zip_stat_t page_zip_stat[PAGE_ZIP_SSIZE_MAX];
/** Statistics on compression, indexed by index->id */
page_zip_stat_per_index_t
page_zip_stat_per_index
;
/* Compression level to be used by zlib. Settable by user. */
uint
page_zip_level
=
DEFAULT_COMPRESSION_LEVEL
;
/*
*
Compression level to be used by zlib. Settable by user. */
uint
page_zip_level
;
/* Whether or not to log compressed page images to avoid possible
/*
*
Whether or not to log compressed page images to avoid possible
compression algorithm changes in zlib. */
my_bool
page_zip_log_pages
=
true
;
my_bool
page_zip_log_pages
;
/* Please refer to ../include/page0zip.ic for a description of the
compressed page format. */
...
...
storage/xtradb/page/page0zip.cc
View file @
d902d43c
...
...
@@ -2,7 +2,7 @@
Copyright (c) 2005, 2016, Oracle and/or its affiliates. All Rights Reserved.
Copyright (c) 2012, Facebook Inc.
Copyright (c) 2014,
SkySQL Ab. All Rights Reserved
.
Copyright (c) 2014,
2017, MariaDB Corporation
.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
...
...
@@ -83,12 +83,12 @@ UNIV_INTERN mysql_pfs_key_t page_zip_stat_per_index_mutex_key;
#endif
/* !UNIV_INNOCHECKSUM */
#endif
/* !UNIV_HOTBACKUP */
/* Compression level to be used by zlib. Settable by user. */
UNIV_INTERN
uint
page_zip_level
=
DEFAULT_COMPRESSION_LEVEL
;
/*
*
Compression level to be used by zlib. Settable by user. */
UNIV_INTERN
uint
page_zip_level
;
/* Whether or not to log compressed page images to avoid possible
/*
*
Whether or not to log compressed page images to avoid possible
compression algorithm changes in zlib. */
UNIV_INTERN
my_bool
page_zip_log_pages
=
false
;
UNIV_INTERN
my_bool
page_zip_log_pages
;
/* Please refer to ../include/page0zip.ic for a description of the
compressed page format. */
...
...
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