Skip to content

Commit

Permalink
MDEV-31273: Precompute binlog checksums
Browse files Browse the repository at this point in the history
After b8f9f79 Format_description_log_event constructor
requires binlog checksum algorithm or BINLOG_CHECKSUM_ALG_OFF
for Galera also.

Thanks to Kristian Nielsen <knielsen@knielsen-hq.org>
for pointing a fix.
  • Loading branch information
janlindstrom committed Nov 16, 2023
1 parent 9e457cb commit 99a3fe5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sql/wsrep_high_priority_service.cc
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
#define NUMBER_OF_FIELDS_TO_IDENTIFY_WORKER 2
#include "slave.h"
#include "rpl_mi.h"
#include "rpl_constants.h"

namespace
{
Expand Down Expand Up @@ -70,7 +71,7 @@ static rpl_group_info* wsrep_relay_group_init(THD* thd, const char* log_fname)
if (!rli->relay_log.description_event_for_exec)
{
rli->relay_log.description_event_for_exec=
new Format_description_log_event(4);
new Format_description_log_event(4, 0, BINLOG_CHECKSUM_ALG_OFF);
}

static LEX_CSTRING connection_name= { STRING_WITH_LEN("wsrep") };
Expand Down

0 comments on commit 99a3fe5

Please sign in to comment.