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:
c72926e
)
Re-add incorrectly removed call to consume txn_count during compiler warning
author
Pavan Deolasee
<
[email protected]
>
Tue, 15 Mar 2016 06:30:52 +0000
(12:00 +0530)
committer
Pavan Deolasee
<
[email protected]
>
Tue, 15 Mar 2016 06:30:52 +0000
(12:00 +0530)
cleanups
src/gtm/proxy/proxy_main.c
patch
|
blob
|
blame
|
history
diff --git
a/src/gtm/proxy/proxy_main.c
b/src/gtm/proxy/proxy_main.c
index 5c0eefb14931279dc13aff4e36a7ce8fa7b862a2..871280fa89be2654c3f3c335b0bf0fd3addeeda0 100644
(file)
--- 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,