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
f10d64a7
Commit
f10d64a7
authored
May 01, 2008
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use the deignated tmpdir if it exists
parent
d2c79c53
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
3 deletions
+9
-3
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+9
-3
No files found.
mysql-test/mysql-test-run.pl
View file @
f10d64a7
...
@@ -773,7 +773,13 @@ sub set_mtr_build_thread_ports($) {
...
@@ -773,7 +773,13 @@ sub set_mtr_build_thread_ports($) {
sub
collect_mysqld_features
{
sub
collect_mysqld_features
{
my
$found_variable_list_start
=
0
;
my
$found_variable_list_start
=
0
;
my
$tmpdir
=
tempdir
(
CLEANUP
=>
0
);
# Directory removed by this function
my
$use_tmpdir
;
if
(
defined
$opt_tmpdir
and
-
d
$opt_tmpdir
){
# Create the tempdir in $opt_tmpdir
$use_tmpdir
=
$opt_tmpdir
;
}
my
$tmpdir
=
tempdir
(
CLEANUP
=>
0
,
# Directory removed by this function
DIR
=>
$use_tmpdir
);
#
#
# Execute "mysqld --no-defaults --help --verbose" to get a
# Execute "mysqld --no-defaults --help --verbose" to get a
...
@@ -3566,7 +3572,7 @@ sub gdb_arguments {
...
@@ -3566,7 +3572,7 @@ sub gdb_arguments {
# Write $args to gdb init file
# Write $args to gdb init file
my
$str
=
join
("
",
@$$args
);
my
$str
=
join
("
",
@$$args
);
my
$gdb_init_file
=
"
$opt_
tmpdir
/gdbinit.
$type
";
my
$gdb_init_file
=
"
$opt_
vardir
/tmp
/gdbinit.
$type
";
# Remove the old gdbinit file
# Remove the old gdbinit file
unlink
(
$gdb_init_file
);
unlink
(
$gdb_init_file
);
...
@@ -3630,7 +3636,7 @@ sub ddd_arguments {
...
@@ -3630,7 +3636,7 @@ sub ddd_arguments {
# Write $args to ddd init file
# Write $args to ddd init file
my
$str
=
join
("
",
@$$args
);
my
$str
=
join
("
",
@$$args
);
my
$gdb_init_file
=
"
$opt_
tmpdir
/gdbinit.
$type
";
my
$gdb_init_file
=
"
$opt_
vardir
/tmp
/gdbinit.
$type
";
# Remove the old gdbinit file
# Remove the old gdbinit file
unlink
(
$gdb_init_file
);
unlink
(
$gdb_init_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