Commit 953de413 authored by Marko Mäkelä's avatar Marko Mäkelä

trx_sys_read_wsrep_checkpoint(): Do not write

If no checkpoint information is present, do not write to the data files.
These writes would violate innodb_read_only=ON, among other things.
parent a133b05c
......@@ -371,7 +371,6 @@ trx_sys_read_wsrep_checkpoint(
long long seqno= -1;
memcpy(xid->data + 24, &seqno, sizeof(long long));
xid->formatID = -1;
trx_sys_update_wsrep_checkpoint(xid, sys_header, &mtr);
mtr_commit(&mtr);
return;
}
......
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