summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <lzhou/zhl@dev3-63.(none)>2007-06-15 09:23:27 +0000
committerunknown <lzhou/zhl@dev3-63.(none)>2007-06-15 09:23:27 +0000
commit9dc00e97cfbf1ee57251d14a65c38743a3525baf (patch)
treeaefb174b9ec110cea36947a7bb33ea14d4be1dbe /ndb
parentad33a48afc21c7c89e7ea893ea826e305bd09258 (diff)
downloadmariadb-git-9dc00e97cfbf1ee57251d14a65c38743a3525baf.tar.gz
BUG#25941 Output warning messages from stdout to stderr when abitrator warnings exist
ndb/src/mgmsrv/ConfigInfo.cpp: Outpout warning to stderr when there are abitrator warnings
Diffstat (limited to 'ndb')
-rw-r--r--ndb/src/mgmsrv/ConfigInfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ndb/src/mgmsrv/ConfigInfo.cpp b/ndb/src/mgmsrv/ConfigInfo.cpp
index 0cf37b5f874..3600dfdeab3 100644
--- a/ndb/src/mgmsrv/ConfigInfo.cpp
+++ b/ndb/src/mgmsrv/ConfigInfo.cpp
@@ -3761,9 +3761,9 @@ check_node_vs_replicas(Vector<ConfigInfo::ConfigRuleSection>&sections,
}
}
if (db_host_count > 1 && node_group_warning.length() > 0)
- ndbout_c("Cluster configuration warning:\n%s",node_group_warning.c_str());
+ ctx.reportWarning("Cluster configuration warning:\n%s",node_group_warning.c_str());
if (db_host_count > 1 && arbitration_warning.length() > 0)
- ndbout_c("Cluster configuration warning:%s%s",arbitration_warning.c_str(),
+ ctx.reportWarning("Cluster configuration warning:%s%s",arbitration_warning.c_str(),
"\n Running arbitrator on the same host as a database node may"
"\n cause complete cluster shutdown in case of host failure.");
}