diff options
author | Pavan Deolasee | 2016-03-15 06:30:52 +0000 |
---|---|---|
committer | Pavan Deolasee | 2016-10-18 10:04:33 +0000 |
commit | 20af02aac8e56796d129d840b22f4131dca63cef (patch) | |
tree | 51e8686d45fdf96aaaa265d735ae7c675cbc8b0f | |
parent | b6b4cf86c8db9a4b88a1fe9a2527ff2c88e7edb0 (diff) |
Re-add incorrectly removed call to consume txn_count during compiler warning
cleanups
-rw-r--r-- | src/gtm/proxy/proxy_main.c | 5 |
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, |