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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
5a19f3bc
Commit
5a19f3bc
authored
Apr 08, 2006
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
$MYSQL_TEST was broken with --valgrind.
parent
a024fd69
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
5 deletions
+11
-5
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+11
-5
No files found.
mysql-test/mysql-test-run.pl
View file @
5a19f3bc
...
...
@@ -2316,11 +2316,6 @@ sub run_mysqltest ($) {
mtr_init_args
(
\
$args
);
if
(
defined
$opt_valgrind_mysqltest
)
{
valgrind_arguments
(
$args
,
\
$exe
);
}
mtr_add_arg
(
$args
,
"
--no-defaults
");
mtr_add_arg
(
$args
,
"
--socket=%s
",
$master
->
[
0
]
->
{'
path_mysock
'});
mtr_add_arg
(
$args
,
"
--database=test
");
...
...
@@ -2398,6 +2393,17 @@ sub run_mysqltest ($) {
# Add arguments that should not go into the MYSQL_TEST env var
# ----------------------------------------------------------------------
if
(
defined
$opt_valgrind_mysqltest
)
{
# Prefix the Valgrind options to the argument list.
# We do this here, since we do not want to Valgrind the nested invocations
# of mysqltest; that would mess up the stderr output causing test failure.
my
@args_saved
=
@$args
;
mtr_init_args
(
\
$args
);
valgrind_arguments
(
$args
,
\
$exe
);
mtr_add_arg
(
$args
,
"
%s
",
$_
)
for
@args_saved
;
}
mtr_add_arg
(
$args
,
"
-R
");
mtr_add_arg
(
$args
,
$tinfo
->
{'
result_file
'});
...
...
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