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:
80c5bfe
)
Fix context reset to not corrupt the context.
author
Robert Haas
<rhaas@postgresql.org>
Thu, 12 Jun 2014 19:59:25 +0000
(15:59 -0400)
committer
Robert Haas
<rhaas@postgresql.org>
Thu, 12 Jun 2014 19:59:25 +0000
(15:59 -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 e2da5fad8601d93d0b4eee15b06510df66b644ee..ce56b0c249588b61eab6dbded997608c74c038e8 100644
(file)
--- a/
src/backend/utils/mmgr/balloc.c
+++ b/
src/backend/utils/mmgr/balloc.c
@@
-793,6
+793,8
@@
BlockAllocatorReset(MemoryContext context)
span->npages);
span = nextspan;
}
+ relptr_store(base, heap->spans[fclass],
+ (BlockAllocatorSpan *) NULL);
}
}
}