/home/vagrant/mysql-wsrep/sql/rpl_slave.cc: In function 'int exec_relay_log_event(THD*, Relay_log_info*)':
/home/vagrant/mysql-wsrep/sql/rpl_slave.cc:4378:66: error: 'WSREP_DEBUG' was not declared in this scope
WSREP_DEBUG("apply_event_and_update_pos result: %d", exec_res);
^
introduced by this change:
commit a35c12fcfb47a93383041cc555cc0b7909fc3115
Author: sjaakola <seppo.jaakola@iki.fi>
Date: Sun Sep 6 22:35:23 2015 +0300
refs codership/mysql-wsrep#181
- Galera related errors in mysql slave applying will now cause slave to abort
@@ -4365,6 +4373,7 @@ static int exec_relay_log_event(THD* thd, Relay_log_info* rli)
Hence deferred events wont be deleted here.
They will be deleted in Deferred_log_events::rewind() funciton.
*/
+ WSREP_DEBUG("apply_event_and_update_pos result: %d", exec_res);
if (*ptr_ev)
{
DBUG_ASSERT(*ptr_ev == ev); // event remains to belong to Coordinator
No idea why this works everywhere else but in the nightly build. Furthermore, it started failing in nightly without any changes in the code between a successful run and an unsuccessful one.
introduced by this change:
I guess