summaryrefslogtreecommitdiff
path: root/sql
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2017-12-23 14:53:12 +0200
committerMonty <monty@mariadb.org>2017-12-23 14:53:12 +0200
commit6e7ca6b0b29a732390f2d50902ef7f6db66989ce (patch)
treeba7b5663ededaf7d21e9d967e679323ea7616cba /sql
parent068b1d0eb882df6621c7c64c6c39469555f7993f (diff)
downloadmariadb-git-6e7ca6b0b29a732390f2d50902ef7f6db66989ce.tar.gz
MDEV-13719 Assertion `bit < (map)->n_bits' failed in bitmap_is_set
Problem was that MAX_SLAVE_ERROR didn't cover all possible errors.
Diffstat (limited to 'sql')
-rw-r--r--sql/slave.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/slave.h b/sql/slave.h
index ded9d76e49d..d3cbaae03df 100644
--- a/sql/slave.h
+++ b/sql/slave.h
@@ -51,7 +51,7 @@
#define SLAVE_NET_TIMEOUT 60
-#define MAX_SLAVE_ERROR 2000
+#define MAX_SLAVE_ERROR ER_ERROR_LAST+1
#define MAX_REPLICATION_THREAD 64