1
0
mirror of https://github.com/pgbackrest/pgbackrest.git synced 2025-02-19 19:44:38 +02:00

Fix typo in blockIncrProcess().

This commit is contained in:
David Steele 2023-03-12 22:38:38 +07:00
parent 1281a6eaf8
commit 5c1f78d4dd
2 changed files with 2 additions and 1 deletions

View File

@ -53,6 +53,7 @@
<commit subject="Rename BlockHash to BlockChecksum."/>
<commit subject="Update default block size and super block values based on testing."/>
<commit subject="Ensure no continuations when block size equals super block size."/>
<commit subject="Fix typo in blockIncrProcess()."/>
<release-item-contributor-list>
<release-item-contributor id="david.steele"/>

View File

@ -225,7 +225,7 @@ blockIncrProcess(THIS_VOID, const Buffer *const input, Buffer *const output)
// Write the super block
if (this->blockOutWrite != NULL && (this->done || this->blockOutSize >= this->superBlockSize))
{
// Explicitly terminate the block if all block sizes are equal. This is not required if that last block is smaller than
// Explicitly terminate the block if all block sizes are equal. This is not required if the last block is smaller than
// the block size.
if (this->blockOutSize % this->blockSize == 0)
ioWriteVarIntU64(this->blockOutWrite, 0);