projects
/
2ndquadrant_bdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
21720a3
)
bdr: Fix unitialized variable.
author
Petr Jelinek
<pjmodos@pjmodos.net>
Wed, 4 Feb 2015 19:57:22 +0000
(20:57 +0100)
committer
Craig Ringer
<craig@2ndquadrant.com>
Sun, 8 Feb 2015 02:41:52 +0000
(15:41 +1300)
bdr_replication_identifier.c
patch
|
blob
|
blame
|
history
diff --git
a/bdr_replication_identifier.c
b/bdr_replication_identifier.c
index 4ee9c317a060aae673de2eafdff57763cf2ad634..bb929aa0226653b36ad432b6746504e5e7b1bac4 100644
(file)
--- a/
bdr_replication_identifier.c
+++ b/
bdr_replication_identifier.c
@@
-397,7
+397,6
@@
void
SetupCachedReplicationIdentifier(RepNodeId node)
{
Relation rel;
- Snapshot snap;
SysScanDesc scan;
ScanKeyData key;
HeapTuple tuple;
@@
-423,7
+422,7
@@
SetupCachedReplicationIdentifier(RepNodeId node)
ObjectIdGetDatum(node));
scan = systable_beginscan(rel, ReplicationPosLocalIdentIndex,
- true,
snap
, 1, &key);
+ true,
NULL
, 1, &key);
tuple = systable_getnext(scan);
if (HeapTupleIsValid(tuple))