mirror of
https://github.com/MariaDB/server.git
synced 2025-03-17 20:48:38 +01:00
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:
parent
a133b05cd7
commit
953de41307
1 changed files with 0 additions and 1 deletions
|
@ -371,7 +371,6 @@ trx_sys_read_wsrep_checkpoint(
|
||||||
long long seqno= -1;
|
long long seqno= -1;
|
||||||
memcpy(xid->data + 24, &seqno, sizeof(long long));
|
memcpy(xid->data + 24, &seqno, sizeof(long long));
|
||||||
xid->formatID = -1;
|
xid->formatID = -1;
|
||||||
trx_sys_update_wsrep_checkpoint(xid, sys_header, &mtr);
|
|
||||||
mtr_commit(&mtr);
|
mtr_commit(&mtr);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue