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.
This commit is contained in:
Marko Mäkelä 2017-06-22 13:40:10 +03:00
parent a133b05cd7
commit 953de41307

View file

@ -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;
}