Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b56ddf9

Browse files
knizhnikkelvich
authored andcommitted
Add asserts for origin
1 parent e0539a9 commit b56ddf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pglogical_proto.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ pglogical_write_commit(StringInfo out, PGLogicalOutputData *data,
199199
elog(WARNING, "Failed to map origin %d", txn->origin_id);
200200
i = MtmNodeId-1;
201201
} else {
202-
//Assert(i == MtmNodeId-1 || txn->origin_lsn != InvalidXLogRecPtr);
202+
Assert(i == MtmNodeId-1 || txn->origin_lsn != InvalidXLogRecPtr);
203203
}
204204
pq_sendbyte(out, i+1);
205205
} else {

0 commit comments

Comments
 (0)