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
4600fc3f
Commit
4600fc3f
authored
May 02, 2008
by
msvensson@pilot.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#36463 mysql-test-run.pl should always use the --tmpdi
parent
2b104da9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
2 deletions
+10
-2
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+10
-2
No files found.
mysql-test/mysql-test-run.pl
View file @
4600fc3f
...
...
@@ -1367,7 +1367,15 @@ sub datadir_list_setup () {
sub
collect_mysqld_features
()
{
my
$found_variable_list_start
=
0
;
my
$tmpdir
=
tempdir
(
CLEANUP
=>
0
);
# Directory removed by this function
my
$tmpdir
;
if
(
$opt_tmpdir
)
{
# Use the requested tmpdir
mkpath
(
$opt_tmpdir
)
if
(
!
-
d
$opt_tmpdir
);
$tmpdir
=
$opt_tmpdir
;
}
else
{
$tmpdir
=
tempdir
(
CLEANUP
=>
0
);
# Directory removed by this function
}
#
# Execute "mysqld --no-defaults --help --verbose" to get a
...
...
@@ -1428,7 +1436,7 @@ sub collect_mysqld_features () {
}
}
}
rmtree
(
$tmpdir
);
rmtree
(
$tmpdir
)
if
(
!
$opt_tmpdir
)
;
mtr_error
("
Could not find version of MySQL
")
unless
$mysql_version_id
;
mtr_error
("
Could not find variabes list
")
unless
$found_variable_list_start
;
...
...
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