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
76a2a818
Commit
76a2a818
authored
Jun 27, 2007
by
msvensson@pilot.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge pilot.(none):/data/msvensson/mysql/bug18415/my51-bug18415
into pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
parents
7f22aaea
b2b4f13b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
13 deletions
+3
-13
mysql-test/lib/mtr_process.pl
mysql-test/lib/mtr_process.pl
+3
-13
No files found.
mysql-test/lib/mtr_process.pl
View file @
76a2a818
...
...
@@ -142,6 +142,7 @@ sub spawn_impl ($$$$$$$) {
if
(
$pid
)
{
select
(
STDOUT
)
if
$::glob_win32_perl
;
return
spawn_parent_impl
(
$pid
,
$mode
,
$path
);
}
else
...
...
@@ -163,9 +164,6 @@ sub spawn_impl ($$$$$$$) {
{
# Don't redirect stdout on ActiveState perl since this is
# just another thread in the same process.
# Should be fixed so that the thread that is created with fork
# executes the exe in another process and wait's for it to return.
# In the meanwhile, we get all the output from mysqld's to screen
}
elsif
(
!
open
(
STDOUT
,
$log_file_open_mode
,
$output
)
)
{
...
...
@@ -175,7 +173,7 @@ sub spawn_impl ($$$$$$$) {
if
(
$error
)
{
if
(
$output
eq
$error
)
if
(
!
$::glob_win32_perl
and
$output
eq
$error
)
{
if
(
!
open
(
STDERR
,"
>&STDOUT
")
)
{
...
...
@@ -184,15 +182,7 @@ sub spawn_impl ($$$$$$$) {
}
else
{
if
(
$::glob_win32_perl
)
{
# Don't redirect stdout on ActiveState perl since this is
# just another thread in the same process.
# Should be fixed so that the thread that is created with fork
# executes the exe in another process and wait's for it to return.
# In the meanwhile, we get all the output from mysqld's to screen
}
elsif
(
!
open
(
STDERR
,
$log_file_open_mode
,
$error
)
)
if
(
!
open
(
STDERR
,
$log_file_open_mode
,
$error
)
)
{
mtr_child_error
("
can't redirect STDERR to
\"
$error
\"
: $!
");
}
...
...
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