mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Fix pgindent comment breakage
This commit is contained in:
parent
98a746c1ea
commit
ea9a2bcea3
@ -476,11 +476,15 @@ visibilitymap_truncate(Relation rel, BlockNumber nheapblocks)
|
||||
/* Clear out the unwanted bytes. */
|
||||
MemSet(&map[truncByte + 1], 0, MAPSIZE - (truncByte + 1));
|
||||
|
||||
/*
|
||||
/*----
|
||||
* Mask out the unwanted bits of the last remaining byte.
|
||||
*
|
||||
* ((1 << 0) - 1) = 00000000 ((1 << 1) - 1) = 00000001 ... ((1 << 6) -
|
||||
* 1) = 00111111 ((1 << 7) - 1) = 01111111
|
||||
* ((1 << 0) - 1) = 00000000
|
||||
* ((1 << 1) - 1) = 00000001
|
||||
* ...
|
||||
* ((1 << 6) - 1) = 00111111
|
||||
* ((1 << 7) - 1) = 01111111
|
||||
*----
|
||||
*/
|
||||
map[truncByte] &= (1 << truncBit) - 1;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user