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
6c2c23d3
Commit
6c2c23d3
authored
Mar 04, 2009
by
Bjorn Munch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
merge 42797
parent
65074b23
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+15
-1
No files found.
mysql-test/mysql-test-run.pl
View file @
6c2c23d3
...
...
@@ -107,6 +107,17 @@ our $default_vardir;
our
$opt_vardir
;
# Path to use for var/ dir
my
$path_vardir_trace
;
# unix formatted opt_vardir for trace files
my
$opt_tmpdir
;
# Path to use for tmp/ dir
my
$opt_tmpdir_pid
;
END
{
if
(
defined
$opt_tmpdir_pid
and
$opt_tmpdir_pid
==
$$
){
# Remove the tempdir this process has created
mtr_verbose
("
Removing tmpdir '
$opt_tmpdir
");
rmtree
(
$opt_tmpdir
);
}
}
my
$path_config_file
;
# The generated config file, var/my.cnf
# Visual Studio produces executables in different sub-directories based on the
...
...
@@ -1062,8 +1073,11 @@ sub command_line_setup {
"
creating a shorter one...
");
# Create temporary directory in standard location for temporary files
$opt_tmpdir
=
tempdir
(
TMPDIR
=>
1
,
CLEANUP
=>
1
);
$opt_tmpdir
=
tempdir
(
TMPDIR
=>
1
,
CLEANUP
=>
0
);
mtr_report
("
- using tmpdir: '
$opt_tmpdir
'
\n
");
# Remember pid that created dir so it's removed by correct process
$opt_tmpdir_pid
=
$$
;
}
}
$opt_tmpdir
=~
s,/+$,,
;
# Remove ending slash if any
...
...
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