Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit7229ebe

Browse files
Fix identation.
1 parent52f1d67 commit7229ebe

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

‎src/backend/replication/logical/reorderbuffer.c

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1540,10 +1540,10 @@ ReorderBufferCleanupTXN(ReorderBuffer *rb, ReorderBufferTXN *txn)
15401540
Assert(change->txn==txn);
15411541

15421542
/*
1543-
* Instead of updating the memory counter for individual changes,
1544-
*wesum up the size of memory to free so we can update the memory
1545-
* counter all together below. This saves costs of maintaining
1546-
*themax-heap.
1543+
* Instead of updating the memory counter for individual changes, we
1544+
* sum up the size of memory to free so we can update the memory
1545+
* counter all together below. This saves costs of maintaining the
1546+
* max-heap.
15471547
*/
15481548
mem_freed+=ReorderBufferChangeSize(change);
15491549

@@ -1628,7 +1628,7 @@ static void
16281628
ReorderBufferTruncateTXN(ReorderBuffer*rb,ReorderBufferTXN*txn,booltxn_prepared)
16291629
{
16301630
dlist_mutable_iteriter;
1631-
Sizemem_freed=0;
1631+
Sizemem_freed=0;
16321632

16331633
/* cleanup subtransactions & their changes */
16341634
dlist_foreach_modify(iter,&txn->subtxns)
@@ -1662,10 +1662,10 @@ ReorderBufferTruncateTXN(ReorderBuffer *rb, ReorderBufferTXN *txn, bool txn_prep
16621662
dlist_delete(&change->node);
16631663

16641664
/*
1665-
* Instead of updating the memory counter for individual changes,
1666-
*wesum up the size of memory to free so we can update the memory
1667-
* counter all together below. This saves costs of maintaining
1668-
*themax-heap.
1665+
* Instead of updating the memory counter for individual changes, we
1666+
* sum up the size of memory to free so we can update the memory
1667+
* counter all together below. This saves costs of maintaining the
1668+
* max-heap.
16691669
*/
16701670
mem_freed+=ReorderBufferChangeSize(change);
16711671

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp