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
c8c579b2
Commit
c8c579b2
authored
Feb 17, 2006
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set opt_vardir_trace for path for tracefiles
parent
b951068d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+10
-10
No files found.
mysql-test/mysql-test-run.pl
View file @
c8c579b2
...
...
@@ -156,7 +156,7 @@ our $path_mysqltest_log;
our
$path_slave_load_tmpdir
;
# What is this?!
our
$path_my_basedir
;
our
$opt_vardir
;
# A path but set directly on cmd line
our
$opt_vardir_
unix
;
# Always unix formatted opt_vardir
our
$opt_vardir_
trace
;
# unix formatted opt_vardir for trace files
our
$opt_tmpdir
;
# A path but set directly on cmd line
our
$opt_usage
;
...
...
@@ -641,7 +641,7 @@ sub command_line_setup () {
{
$opt_vardir
=
"
$glob_mysql_test_dir
/var
";
}
$opt_vardir_
unix
=
$opt_vardir
;
$opt_vardir_
trace
=
$opt_vardir
;
# We make the path absolute, as the server will do a chdir() before usage
unless
(
$opt_vardir
=~
m,^/,
or
(
$glob_win32
and
$opt_vardir
=~
m,^[a-z]:/,i
)
)
...
...
@@ -2161,12 +2161,12 @@ sub mysqld_arguments ($$$$$) {
if
(
$type
eq
'
master
'
)
{
mtr_add_arg
(
$args
,
"
%s--debug=d:t:i:A,%s/log/master%s.trace
",
$prefix
,
$opt_vardir_
unix
,
$sidx
);
$prefix
,
$opt_vardir_
trace
,
$sidx
);
}
if
(
$type
eq
'
slave
'
)
{
mtr_add_arg
(
$args
,
"
%s--debug=d:t:i:A,%s/log/slave%s.trace
",
$prefix
,
$opt_vardir_
unix
,
$sidx
);
$prefix
,
$opt_vardir_
trace
,
$sidx
);
}
}
...
...
@@ -2496,7 +2496,7 @@ sub run_mysqltest ($) {
if
(
$opt_debug
)
{
$cmdline_mysqlcheck
.=
"
--debug=d:t:A,
$opt_vardir_
unix
/log/mysqldump.trace
";
"
--debug=d:t:A,
$opt_vardir_
trace
/log/mysqldump.trace
";
}
my
$cmdline_mysqldump
=
"
$exe_mysqldump
--no-defaults -uroot
"
.
...
...
@@ -2505,7 +2505,7 @@ sub run_mysqltest ($) {
if
(
$opt_debug
)
{
$cmdline_mysqldump
.=
"
--debug=d:t:A,
$opt_vardir_
unix
/log/mysqldump.trace
";
"
--debug=d:t:A,
$opt_vardir_
trace
/log/mysqldump.trace
";
}
my
$cmdline_mysqlimport
=
"
$exe_mysqlimport
-uroot
"
.
"
--port=
$master
->[0]->{'path_myport'}
"
.
...
...
@@ -2513,7 +2513,7 @@ sub run_mysqltest ($) {
if
(
$opt_debug
)
{
$cmdline_mysqlimport
.=
"
--debug=d:t:A,
$opt_vardir_
unix
/log/mysqlimport.trace
";
"
--debug=d:t:A,
$opt_vardir_
trace
/log/mysqlimport.trace
";
}
my
$cmdline_mysqlshow
=
"
$exe_mysqlshow
-uroot
"
.
...
...
@@ -2522,7 +2522,7 @@ sub run_mysqltest ($) {
if
(
$opt_debug
)
{
$cmdline_mysqlshow
.=
"
--debug=d:t:A,
$opt_vardir_
unix
/log/mysqlshow.trace
";
"
--debug=d:t:A,
$opt_vardir_
trace
/log/mysqlshow.trace
";
}
my
$cmdline_mysqlbinlog
=
...
...
@@ -2533,7 +2533,7 @@ sub run_mysqltest ($) {
if
(
$opt_debug
)
{
$cmdline_mysqlbinlog
.=
"
--debug=d:t:A,
$opt_vardir_
unix
/log/mysqlbinlog.trace
";
"
--debug=d:t:A,
$opt_vardir_
trace
/log/mysqlbinlog.trace
";
}
my
$cmdline_mysql
=
...
...
@@ -2665,7 +2665,7 @@ sub run_mysqltest ($) {
if
(
$opt_debug
)
{
mtr_add_arg
(
$args
,
"
--debug=d:t:A,%s/log/mysqltest.trace
",
$opt_vardir_
unix
);
mtr_add_arg
(
$args
,
"
--debug=d:t:A,%s/log/mysqltest.trace
",
$opt_vardir_
trace
);
}
if
(
$opt_ssl_supported
)
...
...
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