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
66ae8743
Commit
66ae8743
authored
Sep 01, 2007
by
msvensson@pilot.(none)
Browse files
Options
Browse Files
Download
Plain Diff
Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
into pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint
parents
45667e64
0ccf3502
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
14 deletions
+7
-14
mysql-test/lib/mtr_misc.pl
mysql-test/lib/mtr_misc.pl
+7
-14
No files found.
mysql-test/lib/mtr_misc.pl
View file @
66ae8743
...
...
@@ -204,22 +204,15 @@ sub mtr_copy_dir($$) {
sub
mtr_rmtree
($)
{
my
(
$dir
)
=
@_
;
my
$need_file_find
=
0
;
mtr_verbose
("
mtr_rmtree:
$dir
");
{
# Try to use File::Path::rmtree. Recent versions
# handles removal of directories and files that don't
# have full permissions, while older versions
# may have a problem with that and we use our own version
local
$SIG
{
__WARN__
}
=
sub
{
$need_file_find
=
1
;
mtr_warning
(
$_
[
0
]);
};
rmtree
(
$dir
);
}
if
(
$need_file_find
)
{
# Try to use File::Path::rmtree. Recent versions
# handles removal of directories and files that don't
# have full permissions, while older versions
# may have a problem with that and we use our own version
eval
{
rmtree
(
$dir
);
};
if
(
$@
)
{
mtr_warning
("
rmtree(
$dir
) failed, trying with File::Find...
");
my
$errors
=
0
;
...
...
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