projects
/
users
/
rhaas
/
postgres.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
40cc2d5
)
Remove duplicate deference.
author
Robert Haas
<rhaas@postgresql.org>
Thu, 5 Jun 2014 20:56:57 +0000
(16:56 -0400)
committer
Robert Haas
<rhaas@postgresql.org>
Thu, 5 Jun 2014 20:56:57 +0000
(16:56 -0400)
src/backend/utils/mmgr/balloc.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/utils/mmgr/balloc.c
b/src/backend/utils/mmgr/balloc.c
index 2fc256df60cd1e11ce2935e82ee76933c2e72dd0..c4407634123890355ea8695c772b04a94f6ab94a 100644
(file)
--- a/
src/backend/utils/mmgr/balloc.c
+++ b/
src/backend/utils/mmgr/balloc.c
@@
-551,7
+551,7
@@
BlockAllocatorGetChunkSpace(AllocatorRegion *aregion, void *ptr)
/* Work out the size of the allocation. */
size_class = span->size_class;
- if (s
pan->s
ize_class == BA_SCLASS_SPAN_LARGE)
+ if (size_class == BA_SCLASS_SPAN_LARGE)
return FPM_PAGE_SIZE * span->npages;
else
return balloc_size_classes[size_class];