diff options
Diffstat (limited to 'sql/slave.cc')
-rw-r--r-- | sql/slave.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/slave.cc b/sql/slave.cc index 7e759eecb90..373661075bb 100644 --- a/sql/slave.cc +++ b/sql/slave.cc @@ -1178,9 +1178,10 @@ when it try to get the value of TIME_ZONE global variable from master."; /* Request the master to filter away events with the @@skip_replication flag - set, if we are running with --replicate-events-marked-for-skip=0. + set, if we are running with + --replicate-events-marked-for-skip=FILTER_ON_MASTER. */ - if (!opt_replicate_events_marked_for_skip) + if (opt_replicate_events_marked_for_skip == RPL_SKIP_FILTER_ON_MASTER) { if (mysql_real_query(mysql, STRING_WITH_LEN("SET skip_replication=1"))) { |