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
4ef86e36
Commit
4ef86e36
authored
Dec 14, 2017
by
Vesa Pentti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
A fix of mtr bug uncovered by MDEV-12501: passing of parameters in rebootstrap
parent
34f2f4fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+7
-3
No files found.
mysql-test/mysql-test-run.pl
View file @
4ef86e36
...
@@ -329,6 +329,8 @@ my %mysqld_logs;
...
@@ -329,6 +329,8 @@ my %mysqld_logs;
my
$opt_debug_sync_timeout
=
300
;
# Default timeout for WAIT_FOR actions.
my
$opt_debug_sync_timeout
=
300
;
# Default timeout for WAIT_FOR actions.
my
$warn_seconds
=
60
;
my
$warn_seconds
=
60
;
my
$rebootstrap_re
=
'
--innodb[-_](?:page[-_]size|checksum[-_]algorithm|undo[-_]tablespaces|log[-_]group[-_]home[-_]dir|data[-_]home[-_]dir)|data[-_]file[-_]path
';
sub
testcase_timeout
($)
{
sub
testcase_timeout
($)
{
my
(
$tinfo
)
=
@_
;
my
(
$tinfo
)
=
@_
;
if
(
exists
$tinfo
->
{'
case-timeout
'})
{
if
(
exists
$tinfo
->
{'
case-timeout
'})
{
...
@@ -2792,10 +2794,12 @@ sub mysql_server_start($) {
...
@@ -2792,10 +2794,12 @@ sub mysql_server_start($) {
{
{
# Some InnoDB options are incompatible with the default bootstrap.
# Some InnoDB options are incompatible with the default bootstrap.
# If they are used, re-bootstrap
# If they are used, re-bootstrap
if
(
$extra_opts
and
my
@rebootstrap_opts
;
"
@
$extra_opts
"
=~
/--innodb[-_](?:page[-_]size|checksum[-_]algorithm|undo[-_]tablespaces|log[-_]group[-_]home[-_]dir|data[-_]home[-_]dir)|data[-_]file[-_]path/
)
@rebootstrap_opts
=
grep
{
/$rebootstrap_re/o
}
@$extra_opts
if
$extra_opts
;
if
(
@rebootstrap_opts
)
{
{
mysql_install_db
(
$mysqld
,
undef
,
$extra_opts
);
mtr_verbose
("
Re-bootstrap with
@rebootstrap_opts
");
mysql_install_db
(
$mysqld
,
undef
,
\
@rebootstrap_opts
);
}
}
else
{
else
{
# Copy datadir from installed system db
# Copy datadir from installed system db
...
...
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