8000 Fix pgindent comment breakage · sqlparser/postgres@ea9a2bc · GitHub
[go: up one dir, main page]

Skip to content

Commit ea9a2bc

Browse files
committed
Fix pgindent comment breakage
1 parent 98a746c commit ea9a2bc

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

src/backend/access/heap/visibilitymap.c

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -476,11 +476,15 @@ visibilitymap_truncate(Relation rel, BlockNumber nheapblocks)
476476
/* Clear out the unwanted bytes. */
477477
MemSet(&map[truncByte + 1], 0, MAPSIZE - (truncByte + 1));
478478

479-
/*
479+
/*----
480480
* Mask out the unwanted bits of the last remaining byte.
481481
*
482-
* ((1 << 0) - 1) = 00000000 ((1 << 1) - 1) = 00000001 ... ((1 << 6) -
483-
* 1) = 00111111 ((1 << 7) - 1) = 01111111
482+
* ((1 << 0) - 1) = 00000000
483+
* ((1 << 1) - 1) = 00000001
484+
* ...
485+
* ((1 << 6) - 1) = 00111111
486+
* ((1 << 7) - 1) = 01111111
487+
*----
484488
*/
485489
map[truncByte] &= (1 << truncBit) - 1;
486490

0 commit comments

Comments
 (0)
0