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
e380f447
Commit
e380f447
authored
May 20, 2020
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Plain Diff
Merge 10.1 into 10.2
parents
1893a137
6b2c8cac
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
15 additions
and
8 deletions
+15
-8
mysql-test/lib/mtr_report.pm
mysql-test/lib/mtr_report.pm
+3
-1
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+8
-2
mysql-test/suite/rpl/t/rpl_fail_register.test
mysql-test/suite/rpl/t/rpl_fail_register.test
+1
-2
mysql-test/suite/sys_vars/r/sysvars_innodb.result
mysql-test/suite/sys_vars/r/sysvars_innodb.result
+1
-1
storage/innobase/handler/ha_innodb.cc
storage/innobase/handler/ha_innodb.cc
+1
-1
storage/xtradb/handler/ha_innodb.cc
storage/xtradb/handler/ha_innodb.cc
+1
-1
No files found.
mysql-test/lib/mtr_report.pm
View file @
e380f447
...
...
@@ -473,7 +473,7 @@ sub mtr_report_stats ($$$$) {
$comment
=~
s/[\"]//g
;
# if a test case has to be retried it should have the result MTR_RES_FAILED in jUnit XML
if
(
$test
->
{'
result
'}
eq
"
MTR_RES_FAILED
"
||
$test
->
{'
retries
'})
{
if
(
$test
->
{'
result
'}
eq
"
MTR_RES_FAILED
"
||
$test
->
{'
retries
'}
>
0
)
{
my
$logcontents
=
$test
->
{'
logfile-failed
'}
||
$test
->
{'
logfile
'};
$xml_report
.=
qq(>\n\t\t\t<failure message="" type="MTR_RES_FAILED">\n<![CDATA[$logcontents]]>\n\t\t\t</failure>\n\t\t</testcase>\n)
;
...
...
@@ -639,6 +639,8 @@ sub mtr_error (@) {
}
else
{
use
Carp
qw(cluck)
;
cluck
"
Error happened
"
if
$verbose
>
0
;
exit
(
1
);
}
}
...
...
mysql-test/mysql-test-run.pl
View file @
e380f447
...
...
@@ -942,8 +942,14 @@ sub run_test_server ($$$) {
if
(
$result
->
is_failed
()
)
{
my
$worker_logdir
=
$result
->
{
savedir
};
my
$log_file_name
=
dirname
(
$worker_logdir
)
.
"
/
"
.
$result
->
{
shortname
}
.
"
.log
";
$result
->
{'
logfile-failed
'}
=
mtr_lastlinesfromfile
(
$log_file_name
,
20
);
rename
$log_file_name
,
$log_file_name
.
"
.failed
";
if
(
-
e
$log_file_name
)
{
$result
->
{'
logfile-failed
'}
=
mtr_lastlinesfromfile
(
$log_file_name
,
20
);
}
else
{
$result
->
{'
logfile-failed
'}
=
"";
}
rename
$log_file_name
,
$log_file_name
.
"
.failed
";
}
delete
(
$result
->
{
result
});
$result
->
{
retries
}
=
$retries
+
1
;
...
...
mysql-test/suite/rpl/t/rpl_fail_register.test
View file @
e380f447
...
...
@@ -17,13 +17,12 @@ set global debug_dbug=@old_dbug;
connection
master
;
### Dump thread is hanging despite slave has gracefully exited.
let
$id
=
`SELECT id from information_schema.processlist where command='Binlog Dump'`
;
if
(
$id
)
{
replace_result
$id
DUMP_THREAD
;
eval
kill
$id
;
let
$wait_condition
=
SELECT
count
(
*
)
=
0
from
information_schema
.
processlist
where
command
=
'
Binlog Dump
'
;
let
$wait_condition
=
SELECT
count
(
*
)
=
0
from
information_schema
.
processlist
where
command
=
'
Killed
'
;
source
include
/
wait_condition
.
inc
;
}
...
...
mysql-test/suite/sys_vars/r/sysvars_innodb.result
View file @
e380f447
...
...
@@ -865,7 +865,7 @@ VARIABLE_SCOPE GLOBAL
VARIABLE_TYPE INT UNSIGNED
VARIABLE_COMMENT Number of threads performing background key rotation and scrubbing
NUMERIC_MIN_VALUE 0
NUMERIC_MAX_VALUE
429496729
5
NUMERIC_MAX_VALUE
25
5
NUMERIC_BLOCK_SIZE 0
ENUM_VALUE_LIST NULL
READ_ONLY NO
...
...
storage/innobase/handler/ha_innodb.cc
View file @
e380f447
...
...
@@ -21050,7 +21050,7 @@ static MYSQL_SYSVAR_UINT(encryption_threads, srv_n_fil_crypt_threads,
"scrubbing"
,
NULL
,
innodb_encryption_threads_update
,
srv_n_fil_crypt_threads
,
0
,
UINT_MAX32
,
0
);
0
,
0
,
255
,
0
);
static
MYSQL_SYSVAR_UINT
(
encryption_rotate_key_age
,
srv_fil_crypt_rotate_key_age
,
...
...
storage/xtradb/handler/ha_innodb.cc
View file @
e380f447
...
...
@@ -21125,7 +21125,7 @@ static MYSQL_SYSVAR_UINT(encryption_threads, srv_n_fil_crypt_threads,
"scrubbing"
,
NULL
,
innodb_encryption_threads_update
,
srv_n_fil_crypt_threads
,
0
,
UINT_MAX32
,
0
);
0
,
0
,
255
,
0
);
static
MYSQL_SYSVAR_UINT
(
encryption_rotate_key_age
,
srv_fil_crypt_rotate_key_age
,
...
...
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