projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d1f103c
)
Fix thinko in BitmapAdjustPrefetchIterator.
author
Robert Haas
Tue, 4 Apr 2017 13:03:41 +0000
(09:03 -0400)
committer
Robert Haas
Tue, 4 Apr 2017 13:07:18 +0000
(09:07 -0400)
Dilip Kumar
Discussion: http://postgr.es/m/CAFiTN-uKAvRhWprb0i-U9zFOekgQRRwqjP1wvOBsKZb-UEKbug@mail.gmail.com
src/backend/executor/nodeBitmapHeapscan.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/executor/nodeBitmapHeapscan.c
b/src/backend/executor/nodeBitmapHeapscan.c
index 19eb1755bea869e1c5fe35ff3b74ea6dc00563c0..d240f9c03e61f200c85fd6f5c869f23781425734 100644
(file)
--- a/
src/backend/executor/nodeBitmapHeapscan.c
+++ b/
src/backend/executor/nodeBitmapHeapscan.c
@@
-494,7
+494,7
@@
BitmapAdjustPrefetchIterator(BitmapHeapScanState *node,
SpinLockAcquire(&pstate->mutex);
if (pstate->prefetch_pages > 0)
{
-
nod
e->prefetch_pages--;
+
pstat
e->prefetch_pages--;
SpinLockRelease(&pstate->mutex);
}
else