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
commitd5e52cc9329db2366b7d1622a9359ec29131f7bc (patch)
tree6ec3a7feb0626a60fb704fb3506cbb32b4daf71b /sql/ha_ndbcluster_binlog.cc
parent9d7ae6f002538f557dc4203557b3bfdf62808334 (diff)
downloadmariadb-git-d5e52cc9329db2366b7d1622a9359ec29131f7bc.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);