1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Initial fixes after mariadb 10 merge, basic replication works now

This commit is contained in:
Seppo Jaakola
2013-07-16 12:09:38 +03:00
parent db0cfba638
commit 81739d308f
4 changed files with 14 additions and 19 deletions

View File

@ -8771,6 +8771,15 @@ wsrep_status_t wsrep_commit_cb(void* const ctx,
Relay_log_info* wsrep_relay_log_init(const char* log_fname)
{
Relay_log_info* rli= new Relay_log_info(false);
LEX_STRING conn = {"wsrep",5};
/*
* problem is that mariaDB requires master info for rli, and wsrep replication
* really should not have it. Allocating empty mi here just for the sake of
* getting rpl_filter pointer initialized for mi, rpl_filter will be needed in
* several places
*/
rli->mi= new Master_info(&conn, false);
rli->no_storage= true;
if (!rli->relay_log.description_event_for_exec)