Commit b2fc4d61 authored by Alvaro Herrera's avatar Alvaro Herrera

Fix pgindent comment breakage

parent b43b64ca
...@@ -476,11 +476,15 @@ visibilitymap_truncate(Relation rel, BlockNumber nheapblocks) ...@@ -476,11 +476,15 @@ visibilitymap_truncate(Relation rel, BlockNumber nheapblocks)
/* Clear out the unwanted bytes. */ /* Clear out the unwanted bytes. */
MemSet(&map[truncByte + 1], 0, MAPSIZE - (truncByte + 1)); MemSet(&map[truncByte + 1], 0, MAPSIZE - (truncByte + 1));
/* /*----
* Mask out the unwanted bits of the last remaining byte. * Mask out the unwanted bits of the last remaining byte.
* *
* ((1 << 0) - 1) = 00000000 ((1 << 1) - 1) = 00000001 ... ((1 << 6) - * ((1 << 0) - 1) = 00000000
* 1) = 00111111 ((1 << 7) - 1) = 01111111 * ((1 << 1) - 1) = 00000001
* ...
* ((1 << 6) - 1) = 00111111
* ((1 << 7) - 1) = 01111111
*----
*/ */
map[truncByte] &= (1 << truncBit) - 1; map[truncByte] &= (1 << truncBit) - 1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment