summaryrefslogtreecommitdiff
path: root/sql/slave.cc
diff options
context:
space:
mode:
authorAlfranio Correia <alfranio.correia@sun.com>2009-04-05 13:03:04 +0100
committerAlfranio Correia <alfranio.correia@sun.com>2009-04-05 13:03:04 +0100
commitfa51b56994128616a7906452f7c89a8e72a32c5f (patch)
tree8b08867514cd14c0cd62281021a59bd1df5f9211 /sql/slave.cc
parent7283df9572c403470d6c62631a2341e15010ded8 (diff)
downloadmariadb-git-fa51b56994128616a7906452f7c89a8e72a32c5f.tar.gz
BUG#39393 slave-skip-errors does not work when using ROW based replication
RBR was not considering the option --slave-skip-errors. To fix the problem, we are reporting the ignored ERROR(s) as warnings thus avoiding stopping the SQL Thread. Besides, it fixes the output of "SHOW VARIABLES LIKE 'slave_skip_errors'" which was showing nothing when the value "all" was assigned to --slave-skip-errors. @sql/log_event.cc skipped rbr errors when the option skip-slave-errors is set. @sql/slave.cc fixed the output of for SHOW VARIABLES LIKE 'slave_skip_errors'" @test-cases fixed the output of rpl.rpl_idempotency updated the test case rpl_skip_error
Diffstat (limited to 'sql/slave.cc')
-rw-r--r--sql/slave.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/slave.cc b/sql/slave.cc
index 8c29cb8a72f..fed53cf605e 100644
--- a/sql/slave.cc
+++ b/sql/slave.cc
@@ -361,6 +361,7 @@ void init_slave_skip_errors(const char* arg)
if (!my_strnncoll(system_charset_info,(uchar*)arg,4,(const uchar*)"all",4))
{
bitmap_set_all(&slave_error_mask);
+ print_slave_skip_errors();
DBUG_VOID_RETURN;
}
for (p= arg ; *p; )