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
4f541c5f
Commit
4f541c5f
authored
Oct 10, 2018
by
Monty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added timing of bootstrap to mtr
parent
5280af2b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+6
-0
No files found.
mysql-test/mysql-test-run.pl
View file @
4f541c5f
...
@@ -102,6 +102,7 @@ use mtr_unique;
...
@@ -102,6 +102,7 @@ use mtr_unique;
use
mtr_results
;
use
mtr_results
;
use
IO::Socket::
INET
;
use
IO::Socket::
INET
;
use
IO::
Select
;
use
IO::
Select
;
use
Time::
HiRes
qw(gettimeofday)
;
require
"
mtr_process.pl
";
require
"
mtr_process.pl
";
require
"
mtr_io.pl
";
require
"
mtr_io.pl
";
...
@@ -3285,6 +3286,7 @@ sub mysql_install_db {
...
@@ -3285,6 +3286,7 @@ sub mysql_install_db {
# Create directories mysql and test
# Create directories mysql and test
mkpath
("
$install_datadir
/mysql
");
mkpath
("
$install_datadir
/mysql
");
my
$realtime
=
gettimeofday
();
if
(
My::
SafeProcess
->
run
if
(
My::
SafeProcess
->
run
(
(
name
=>
"
bootstrap
",
name
=>
"
bootstrap
",
...
@@ -3302,6 +3304,10 @@ sub mysql_install_db {
...
@@ -3302,6 +3304,10 @@ sub mysql_install_db {
"
Could not install system database from
$bootstrap_sql_file
\n
"
.
"
Could not install system database from
$bootstrap_sql_file
\n
"
.
"
The
$path_bootstrap_log
file contains:
\n
$data
\n
");
"
The
$path_bootstrap_log
file contains:
\n
$data
\n
");
}
}
else
{
mtr_verbose
("
Spent
"
.
sprintf
("
%.3f
",
(
gettimeofday
()
-
$realtime
))
.
"
seconds in bootstrap
");
}
}
}
...
...
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