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:
e9938d9
)
Remove unused variable from ClusterMonitorGetGlobalXmin
author
Tomas Vondra
<
[email protected]
>
Fri, 12 Oct 2018 13:16:13 +0000
(15:16 +0200)
committer
Tomas Vondra
<
[email protected]
>
Fri, 12 Oct 2018 13:16:13 +0000
(15:16 +0200)
src/backend/postmaster/clustermon.c
patch
|
blob
|
blame
|
history
diff --git
a/src/backend/postmaster/clustermon.c
b/src/backend/postmaster/clustermon.c
index e07ec949b9e3550ecb461dcb8bdd051fb53b1688..c948e8f629e75c22206f8b5c8c8479a391f27ba5 100644
(file)
--- a/
src/backend/postmaster/clustermon.c
+++ b/
src/backend/postmaster/clustermon.c
@@
-401,7
+401,6
@@
GlobalTransactionId
ClusterMonitorGetGlobalXmin(bool invalid_ok)
{
GlobalTransactionId xmin = InvalidGlobalTransactionId;
- int retries = 0;
SpinLockAcquire(&ClusterMonitorCtl->mutex);
xmin = ClusterMonitorCtl->gtm_recent_global_xmin;