summaryrefslogtreecommitdiff
path: root/sql/rpl_parallel.h
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2013-10-08 14:36:06 +0200
committerunknown <knielsen@knielsen-hq.org>2013-10-08 14:36:06 +0200
commit12c760ef71167a1ce6e1adaa084fb196b88e2e55 (patch)
treeefd36c70ae7510e9ba220af9e0ba7dc38497025a /sql/rpl_parallel.h
parent45c3c71513b68b8de79f3e0a5e9779e7e8021716 (diff)
downloadmariadb-git-12c760ef71167a1ce6e1adaa084fb196b88e2e55.tar.gz
MDEV-4506: Parallel replication.
Improve STOP SLAVE in parallel mode. Now, the parallel part will queue the current event group to the end, and then stop queing any more events. Each worker will complete the current event group, and then just skip any further queued events.
Diffstat (limited to 'sql/rpl_parallel.h')
-rw-r--r--sql/rpl_parallel.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/rpl_parallel.h b/sql/rpl_parallel.h
index 8dfd0297199..b9106392faf 100644
--- a/sql/rpl_parallel.h
+++ b/sql/rpl_parallel.h
@@ -76,6 +76,7 @@ struct rpl_parallel_entry {
struct rpl_parallel {
HASH domain_hash;
rpl_parallel_entry *current;
+ bool sql_thread_stopping;
rpl_parallel();
~rpl_parallel();