Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2013-11-15 23:34:14 +0000
committerTom Lane2013-11-15 23:34:14 +0000
commitf1f21b2d6fd170faf9824306ef4f4950c32ce49d (patch)
tree0ba3d0d95fd47cbb20936c1e82164b1f4fb6b2c6 /src/backend/regex
parent97e1ec467099f1e581f491c8a57b7d56d0b9c539 (diff)
Fix incorrect loop counts in tidbitmap.c.
A couple of places that should have been iterating over WORDS_PER_CHUNK words were iterating over WORDS_PER_PAGE words instead. This thinko accidentally failed to fail, because (at least on common architectures with default BLCKSZ) WORDS_PER_CHUNK is a bit less than WORDS_PER_PAGE, and the extra words being looked at were always zero so nothing happened. Still, it's a bug waiting to happen if anybody ever fools with the parameters affecting TIDBitmap sizes, and it's a small waste of cycles too. So back-patch to all active branches. Etsuro Fujita
Diffstat (limited to 'src/backend/regex')
0 files changed, 0 insertions, 0 deletions