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
773e6dde
Commit
773e6dde
authored
Mar 07, 2006
by
msvensson@shellback.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug#17574 Detect cluster start failure and "fail" ndb_* tests
- Update for 5.1
parent
a3d9bb41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
+14
-4
mysql-test/mysql-test-run.pl
mysql-test/mysql-test-run.pl
+14
-4
No files found.
mysql-test/mysql-test-run.pl
View file @
773e6dde
...
...
@@ -1563,7 +1563,6 @@ sub ndbcluster_install_slave () {
"
--core
"],
"",
"",
"",
"")
)
{
mtr_error
("
Error ndbcluster_install_slave
");
return
1
;
}
...
...
@@ -1793,9 +1792,20 @@ sub mysql_install_db () {
if
(
ndbcluster_install_slave
()
)
{
# failed to install, disable usage but flag that its no ok
$opt_with_ndbcluster_slave
=
0
;
$flag_ndb_slave_status_ok
=
0
;
if
(
$opt_force
)
{
# failed to install, disable usage and flag that its no ok
mtr_report
("
ndbcluster_install_slave failed,
"
.
"
continuing without slave cluster
");
$opt_with_ndbcluster_slave
=
0
;
$flag_ndb_slave_status_ok
=
0
;
}
else
{
print
"
Aborting: Failed to install ndb cluster
\n
";
print
"
To continue, re-run with '--force'.
\n
";
mtr_exit
(
1
);
}
}
return
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