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
d616caa6
Commit
d616caa6
authored
Sep 05, 2008
by
Magnus Svensson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#39008 perl warning in mtr: 'use of uninitialized value in concatenation' in mtr:3995
parent
8fb38c6b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
19 deletions
+4
-19
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+4
-19
No files found.
mysql-test/mysql-test-run.pl
View file @
d616caa6
...
...
@@ -4015,29 +4015,14 @@ sub start_servers($) {
}
my
$datadir
=
$mysqld
->
value
('
datadir
');
# Don't delete anything if starting dirty
if
(
!
$opt_start_dirty
)
{
my
@options
=
('
log-bin
',
'
relay-log
');
foreach
my
$option_name
(
@options
)
{
next
unless
$mysqld
->
option
(
$option_name
);
my
$value
=
$mysqld
->
value
(
$option_name
);
# Don't delete anything if starting dirty
foreach
my
$file
(
glob
("
$datadir
/
$value
*
")
)
{
#print "removing: $file\n";
mtr_debug
("
Removing '
$file
'
");
unlink
(
$file
);
}
if
(
-
d
$datadir
)
{
mtr_verbose
("
- removing '
$datadir
'
");
rmtree
(
$datadir
);
}
# Remove old master.info and relay-log.info files
# from the servers datadir
unlink
("
$datadir
/master.info
");
unlink
("
$datadir
/relay-log.info
");
}
# Copy datadir from installed system db
...
...
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