Skip to content

Commit dec741f

Browse files
committed
Raw commit a bit.
In this version EXCHANGE node has GATHER, BROADCAST, STEALTH and SHUFFLE modes. Planner can execute JOINs with and without clauses (FULL JOINs). Costs of paths are set to constant for demo purposes only.
1 parent 72ba986 commit dec741f

File tree

8 files changed

+567
-420
lines changed

8 files changed

+567
-420
lines changed

contrib/pg_exchange/dmq.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1530,8 +1530,8 @@ dmq_pop(DmqSenderId *sender_id, void **msg, Size *len, uint64 mask,
15301530
* the message buffer.
15311531
*/
15321532
stream = data;
1533-
*msg = (void *) ((char *)data + strlen(stream) + 1);
1534-
*len -= (char *)(*msg) - (char *)data;
1533+
*msg = (void *) (stream + strlen(stream) + 1);
1534+
*len -= (char *)(*msg) - stream;
15351535
*sender_id = i;
15361536

15371537
mtm_log(DmqTraceIncoming,

0 commit comments

Comments
 (0)