Commit 99a3fe54 authored by Jan Lindström's avatar Jan Lindström

MDEV-31273: Precompute binlog checksums

After b8f9f796 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.
parent 9e457cbe
......@@ -30,6 +30,7 @@
#define NUMBER_OF_FIELDS_TO_IDENTIFY_WORKER 2
#include "slave.h"
#include "rpl_mi.h"
#include "rpl_constants.h"
namespace
{
......@@ -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") };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment