From 26e39baca130f8758b1f1ab8e6ab55964842ec02 Mon Sep 17 00:00:00 2001 From: "tomas@poseidon.ndb.mysql.com" <> Date: Wed, 5 Jul 2006 18:36:18 +0200 Subject: [PATCH] added warning on cluster reconnect and binlog usage, that data may be missing --- sql/ha_ndbcluster_binlog.cc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sql/ha_ndbcluster_binlog.cc b/sql/ha_ndbcluster_binlog.cc index 0f25f4dc38c..8b04f263b26 100644 --- a/sql/ha_ndbcluster_binlog.cc +++ b/sql/ha_ndbcluster_binlog.cc @@ -3473,6 +3473,12 @@ restart: ndb_latest_applied_binlog_epoch= 0; ndb_latest_received_binlog_epoch= 0; } + else if (ndb_latest_applied_binlog_epoch > 0) + { + sql_print_warning("NDB Binlog: cluster has reconnected. " + "Changes to the database that occured while " + "disconnected will not be in the binlog"); + } if (ndb_extra_logging) { sql_print_information("NDB Binlog: starting log at epoch %u",