summaryrefslogtreecommitdiff
path: root/sql/ha_ndbcluster_binlog.cc
diff options
context:
space:
mode:
authorunknown <tomas@whalegate.ndb.mysql.com>2007-11-06 22:28:44 +0100
committerunknown <tomas@whalegate.ndb.mysql.com>2007-11-06 22:28:44 +0100
commit7d26353f0cb8d9d630ae6f5f6eaea8b7bd9b61ff (patch)
tree6ec3a7feb0626a60fb704fb3506cbb32b4daf71b /sql/ha_ndbcluster_binlog.cc
parent6b018a16e270b30296b19ba0f1eea7ced157c936 (diff)
downloadmariadb-git-7d26353f0cb8d9d630ae6f5f6eaea8b7bd9b61ff.tar.gz
only potentially skip GAP event on startup, not on cluster restart
Diffstat (limited to 'sql/ha_ndbcluster_binlog.cc')
-rw-r--r--sql/ha_ndbcluster_binlog.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/ha_ndbcluster_binlog.cc b/sql/ha_ndbcluster_binlog.cc
index baa8b1ada66..d9380b50f1e 100644
--- a/sql/ha_ndbcluster_binlog.cc
+++ b/sql/ha_ndbcluster_binlog.cc
@@ -3731,6 +3731,7 @@ restart:
check if it is the first log, if so we do not insert a GAP event
as there is really no log to have a GAP in
*/
+ if (incident_id == 0)
{
LOG_INFO log_info;
mysql_bin_log.get_current_log(&log_info);