summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavan Deolasee2016-03-15 06:30:52 +0000
committerPavan Deolasee2016-10-18 10:04:33 +0000
commit20af02aac8e56796d129d840b22f4131dca63cef (patch)
tree51e8686d45fdf96aaaa265d735ae7c675cbc8b0f
parentb6b4cf86c8db9a4b88a1fe9a2527ff2c88e7edb0 (diff)
Re-add incorrectly removed call to consume txn_count during compiler warning
cleanups
-rw-r--r--src/gtm/proxy/proxy_main.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gtm/proxy/proxy_main.c b/src/gtm/proxy/proxy_main.c
index 5c0eefb149..871280fa89 100644
--- a/src/gtm/proxy/proxy_main.c
+++ b/src/gtm/proxy/proxy_main.c
@@ -2163,7 +2163,10 @@ ProcessSnapshotCommand(GTMProxy_ConnectionInfo *conninfo, GTM_Conn *gtm_conn,
case MSG_SNAPSHOT_GET_MULTI:
{
{
- const char *data = pq_getmsgbytes(message,
+ const char *data;
+
+ (void) pq_getmsgint(message, sizeof (int));
+ data = pq_getmsgbytes(message,
sizeof (GlobalTransactionId));
if (data == NULL)
ereport(ERROR,