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
e50772c4
Commit
e50772c4
authored
Apr 18, 2011
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Plain Diff
upmerge 12365486
parents
ae145b6d
f3195e50
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
10 deletions
+7
-10
mysql-test/lib/My/ConfigFactory.pm
mysql-test/lib/My/ConfigFactory.pm
+6
-2
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+1
-8
No files found.
mysql-test/lib/My/ConfigFactory.pm
View file @
e50772c4
# -*- cperl -*-
# Copyright (c) 2008, 201
0
, Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2008, 201
1
, Oracle and/or its affiliates. All rights reserved.
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU Library General Public
...
...
@@ -150,7 +150,11 @@ sub fix_tmpdir {
sub
fix_log_error
{
my
(
$self
,
$config
,
$group_name
,
$group
)
=
@_
;
my
$dir
=
$self
->
{
ARGS
}
->
{
vardir
};
return
"
$dir
/log/
$group_name
.err
";
if
(
$::opt_valgrind
and
$::opt_debug
)
{
return
"
$dir
/log/
$group_name
.trace
";
}
else
{
return
"
$dir
/log/
$group_name
.err
";
}
}
sub
fix_log
{
...
...
mysql-test/mysql-test-run.pl
View file @
e50772c4
...
...
@@ -274,7 +274,7 @@ my $opt_strace_client;
our
$opt_user
=
"
root
";
my
$opt_valgrind
=
0
;
our
$opt_valgrind
=
0
;
my
$opt_valgrind_mysqld
=
0
;
my
$opt_valgrind_mysqltest
=
0
;
my
@default_valgrind_args
=
("
--show-reachable=yes
");
...
...
@@ -4747,13 +4747,6 @@ sub mysqld_start ($$) {
unlink
(
$mysqld
->
value
('
pid-file
'));
my
$output
=
$mysqld
->
value
('
#log-error
');
if
(
$opt_valgrind
and
$opt_debug
)
{
# When both --valgrind and --debug is selected, send
# all output to the trace file, making it possible to
# see the exact location where valgrind complains
$output
=
"
$opt_vardir
/log/
"
.
$mysqld
->
name
()
.
"
.trace
";
}
# Remember this log file for valgrind error report search
$mysqld_logs
{
$output
}
=
1
if
$opt_valgrind
;
# Remember data dir for gmon.out files if using gprof
...
...
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