mirror of
https://github.com/pgbackrest/pgbackrest.git
synced 2025-02-21 19:48:29 +02:00
Fix typo in blockIncrProcess().
This commit is contained in:
parent
1281a6eaf8
commit
5c1f78d4dd
@ -53,6 +53,7 @@
|
|||||||
<commit subject="Rename BlockHash to BlockChecksum."/>
|
<commit subject="Rename BlockHash to BlockChecksum."/>
|
||||||
<commit subject="Update default block size and super block values based on testing."/>
|
<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="Ensure no continuations when block size equals super block size."/>
|
||||||
|
<commit subject="Fix typo in blockIncrProcess()."/>
|
||||||
|
|
||||||
<release-item-contributor-list>
|
<release-item-contributor-list>
|
||||||
<release-item-contributor id="david.steele"/>
|
<release-item-contributor id="david.steele"/>
|
||||||
|
@ -225,7 +225,7 @@ blockIncrProcess(THIS_VOID, const Buffer *const input, Buffer *const output)
|
|||||||
// Write the super block
|
// Write the super block
|
||||||
if (this->blockOutWrite != NULL && (this->done || this->blockOutSize >= this->superBlockSize))
|
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.
|
// the block size.
|
||||||
if (this->blockOutSize % this->blockSize == 0)
|
if (this->blockOutSize % this->blockSize == 0)
|
||||||
ioWriteVarIntU64(this->blockOutWrite, 0);
|
ioWriteVarIntU64(this->blockOutWrite, 0);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user