summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorlzhou/zhl@dev3-63.(none) <>2007-06-15 09:23:27 +0000
committerlzhou/zhl@dev3-63.(none) <>2007-06-15 09:23:27 +0000
commitfe40eedb851eaa5e3ec8be31389a8a7389e405e5 (patch)
treeaefb174b9ec110cea36947a7bb33ea14d4be1dbe /ndb
parent6511b280ca271dd042fb4cb7820769a45f3f3bf8 (diff)
downloadmariadb-git-fe40eedb851eaa5e3ec8be31389a8a7389e405e5.tar.gz
BUG#25941 Output warning messages from stdout to stderr when abitrator warnings exist
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.");
}