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
d71d1a64
Commit
d71d1a64
authored
Oct 18, 2006
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge shellback.(none):/home/msvensson/mysql/mysql-4.1-maint
into shellback.(none):/home/msvensson/mysql/mysql-5.0-maint
parents
09d069fa
770a1f91
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
9 deletions
+3
-9
mysql-test/lib/mtr_process.pl
mysql-test/lib/mtr_process.pl
+0
-2
mysql-test/lib/mtr_timer.pl
mysql-test/lib/mtr_timer.pl
+2
-7
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+1
-0
No files found.
mysql-test/lib/mtr_process.pl
View file @
d71d1a64
...
...
@@ -8,7 +8,6 @@ use Socket;
use
Errno
;
use
strict
;
#use POSIX ":sys_wait_h";
use
POSIX
'
WNOHANG
';
sub
mtr_run
($$$$$$
;
$
);
...
...
@@ -1088,7 +1087,6 @@ sub mtr_kill_processes ($) {
sub
mtr_exit
($)
{
my
$code
=
shift
;
# cluck("Called mtr_exit()");
mtr_timer_stop_all
(
$::glob_timers
);
local
$SIG
{
HUP
}
=
'
IGNORE
';
# ToDo: Signalling -$$ will only work if we are the process group
...
...
mysql-test/lib/mtr_timer.pl
View file @
d71d1a64
...
...
@@ -8,9 +8,6 @@ use Socket;
use
Errno
;
use
strict
;
#use POSIX ":sys_wait_h";
#use POSIX 'WNOHANG';
sub
mtr_init_timers
();
sub
mtr_timer_start
($$$);
sub
mtr_timer_stop
($$);
...
...
@@ -142,10 +139,8 @@ sub mtr_timer_timeout ($$) {
return
""
unless
exists
$timers
->
{'
pids
'}
->
{
$pid
};
# We got a timeout
my
$name
=
$timers
->
{'
pids
'}
->
{
$pid
};
mtr_timer_stop
(
$timers
,
$name
);
return
$name
;
# We got a timeout, return the name ot the timer
return
$timers
->
{'
pids
'}
->
{
$pid
};
}
1
;
mysql-test/mysql-test-run.pl
View file @
d71d1a64
...
...
@@ -2913,6 +2913,7 @@ sub run_testcase ($) {
# ----------------------------------------------------------------------
if
(
$opt_start_and_exit
or
$opt_start_dirty
)
{
mtr_timer_stop_all
(
$glob_timers
);
mtr_report
("
\n
Servers started, exiting
");
exit
(
0
);
}
...
...
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