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:
0124efc
)
fix producerReceiveSlot() to return bool, as expected (was void before)
author
Tomas Vondra
<
[email protected]
>
Fri, 11 Nov 2016 00:13:52 +0000
(
01:13
+0100)
committer
Tomas Vondra
<
[email protected]
>
Fri, 11 Nov 2016 00:13:52 +0000
(
01:13
+0100)
src/backend/executor/producerReceiver.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/executor/producerReceiver.c
b/src/backend/executor/producerReceiver.c
index b7a70338335b37d53465016b7deb829d6f78abf6..d3f3bc8968106420dea7ced9d022b2dde1d56e05 100644
(file)
--- a/
src/backend/executor/producerReceiver.c
+++ b/
src/backend/executor/producerReceiver.c
@@
-72,7
+72,7
@@
producerStartupReceiver(DestReceiver *self, int operation, TupleDesc typeinfo)
/*
* Receive a tuple from the executor and dispatch it to the proper consumer
*/
-static
void
+static
bool
producerReceiveSlot(TupleTableSlot *slot, DestReceiver *self)
{
ProducerState *myState = (ProducerState *) self;
@@
-122,6
+122,8
@@
producerReceiveSlot(TupleTableSlot *slot, DestReceiver *self)
myState->othercount++;
}
}
+
+ return true;
}