summaryrefslogtreecommitdiff
path: root/sql/rpl_gtid.cc
diff options
context:
space:
mode:
authorMonty <monty@mariadb.org>2015-12-10 12:39:54 +0200
committerMonty <monty@mariadb.org>2015-12-10 12:39:54 +0200
commit44b107da90a106c128dca278d04c68d804e51497 (patch)
tree023c5e15cd3fad5392377859de5a5655cb44c1cc /sql/rpl_gtid.cc
parent33f0cf71196d3d2869ccfcbf1c41a0a6709fe8df (diff)
downloadmariadb-git-44b107da90a106c128dca278d04c68d804e51497.tar.gz
Fixed a bug in galera + some failing galera tests
- Added missning setting of table->rpl_write_set in record_gtid(), required by galera - Removed output of WSREP_PATCH_VERSION from galera_defaults, as this can change over time - Limit galera_many_tables_pk and galera_many_tables_nopk to 900, as on many systems the default open table limit is 1024
Diffstat (limited to 'sql/rpl_gtid.cc')
-rw-r--r--sql/rpl_gtid.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/rpl_gtid.cc b/sql/rpl_gtid.cc
index 857dbfcca56..33cf78b6508 100644
--- a/sql/rpl_gtid.cc
+++ b/sql/rpl_gtid.cc
@@ -587,6 +587,7 @@ rpl_slave_state::record_gtid(THD *thd, const rpl_gtid *gtid, uint64 sub_id,
thd->variables.option_bits&= ~(ulonglong)OPTION_BIN_LOG;
bitmap_set_all(table->write_set);
+ table->rpl_write_set= table->write_set;
table->field[0]->store((ulonglong)gtid->domain_id, true);
table->field[1]->store(sub_id, true);