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:
6b27e9e
)
Set XactTopTransactionId also on receiving XID from a datanode
author
Pavan Deolasee
<
[email protected]
>
Thu, 31 Dec 2015 11:11:25 +0000
(16:41 +0530)
committer
Pavan Deolasee
<
[email protected]
>
Thu, 31 Dec 2015 11:11:25 +0000
(16:41 +0530)
src/backend/access/transam/xact.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/access/transam/xact.c
b/src/backend/access/transam/xact.c
index cbf79e6db2881e2adfe59c91af35ba6ae61d20c1..4e0d6daa41a8d9de9dd0b471dac7e0389047074e 100644
(file)
--- a/
src/backend/access/transam/xact.c
+++ b/
src/backend/access/transam/xact.c
@@
-6745,7
+6745,7
@@
SetTopTransactionId(GlobalTransactionId xid)
TransactionState s = CurrentTransactionState;
Assert(!GlobalTransactionIdIsValid(s->transactionId) ||
GlobalTransactionIdEquals(s->transactionId, xid));
- s->transactionId = xid;
+
XactTopTransactionId =
s->transactionId = xid;
elog(DEBUG2, "Assigning XID received from the remote node - %d", xid);
}
#endif