projects
/
postgres-xl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2200974
)
Initialise a variable as reported by valgrind
author
Pavan Deolasee
<
[email protected]
>
Tue, 10 May 2016 05:18:15 +0000
(10:48 +0530)
committer
Pavan Deolasee
<
[email protected]
>
Tue, 10 May 2016 05:18:15 +0000
(10:48 +0530)
src/backend/executor/nodeWindowAgg.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/executor/nodeWindowAgg.c
b/src/backend/executor/nodeWindowAgg.c
index 9892c94acc13685f920939d60491ea9f2a9e74f4..8d62ea6f40cca464c8555937beefbb55c8ff47ff 100644
(file)
--- a/
src/backend/executor/nodeWindowAgg.c
+++ b/
src/backend/executor/nodeWindowAgg.c
@@
-2156,6
+2156,9
@@
initialize_peragg(WindowAggState *winstate, WindowFunc *wfunc,
!contain_volatile_functions((Node *) wfunc))
{
peraggstate->transfn_oid = transfn_oid = aggform->aggmtransfn;
+#ifdef XCP
+ peraggstate->collectfn_oid = collectfn_oid = InvalidOid;
+#endif
peraggstate->invtransfn_oid = invtransfn_oid = aggform->aggminvtransfn;
peraggstate->finalfn_oid = finalfn_oid = aggform->aggmfinalfn;
finalextra = aggform->aggmfinalextra;