mirror of
https://github.com/postgres/postgres.git
synced 2026-05-28 04:35:45 -04:00
Fix thinko in BitmapAdjustPrefetchIterator.
Dilip Kumar Discussion: http://postgr.es/m/CAFiTN-uKAvRhWprb0i-U9zFOekgQRRwqjP1wvOBsKZb-UEKbug@mail.gmail.com
This commit is contained in:
parent
d1f103c739
commit
a9a7949134
1 changed files with 1 additions and 1 deletions
|
|
@ -494,7 +494,7 @@ BitmapAdjustPrefetchIterator(BitmapHeapScanState *node,
|
|||
SpinLockAcquire(&pstate->mutex);
|
||||
if (pstate->prefetch_pages > 0)
|
||||
{
|
||||
node->prefetch_pages--;
|
||||
pstate->prefetch_pages--;
|
||||
SpinLockRelease(&pstate->mutex);
|
||||
}
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in a new issue