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
9afc40fc
Commit
9afc40fc
authored
Mar 13, 2006
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove also slave clusters data on restart after test failure
parent
59e7e381
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+8
-0
No files found.
mysql-test/mysql-test-run.pl
View file @
9afc40fc
...
...
@@ -322,6 +322,7 @@ our $opt_ndb_extra_test= 0;
our
$exe_ndb_mgm
;
our
$path_ndb_tools_dir
;
our
$path_ndb_data_dir
;
our
$path_ndb_slave_data_dir
;
our
$file_ndb_testrun_log
;
our
$flag_ndb_status_ok
=
1
;
our
$flag_ndb_slave_status_ok
=
1
;
...
...
@@ -1148,6 +1149,7 @@ sub executable_setup () {
$exe_slave_mysqld
=
$exe_slave_mysqld
||
$exe_mysqld
;
$path_ndb_data_dir
=
"
$opt_vardir
/ndbcluster-
$opt_ndbcluster_port
";
$path_ndb_slave_data_dir
=
"
$opt_vardir
/ndbcluster-
$opt_ndbcluster_port_slave
";
$file_ndb_testrun_log
=
"
$opt_vardir
/log/ndb_testrun.log
";
}
...
...
@@ -2321,6 +2323,12 @@ sub restore_installed_db () {
# Remove the ndb_*_fs dirs, forcing a clean start of ndb
rmtree
("
$path_ndb_data_dir
/ndb_1_fs
");
rmtree
("
$path_ndb_data_dir
/ndb_2_fs
");
if
(
$opt_with_ndbcluster_slave
)
{
# Remove also the ndb_*_fs dirs for slave cluster
rmtree
("
$path_ndb_slave_data_dir
/ndb_1_fs
");
}
}
}
else
...
...
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