pgpool2.git / summary / log / commit / refs
commit d52a3c370ab5bef52eec8a1c64d1d8377d88d2d5
Author: Tatsuo Ishii <ishii@sraoss.co.jp>
Date: Wed Jul 17 08:24:09 2019 +0000
Remove useless lines.
Since "contents" is never NULL, those lines are never executed.
Per Coverity.
src/protocol/pool_proto_modules.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/protocol/pool_proto_modules.c b/src/protocol/pool_proto_modules.c
index 65788c349..9b005d703 100644
--- a/src/protocol/pool_proto_modules.c
+++ b/src/protocol/pool_proto_modules.c
@@ -572,11 +572,6 @@ SimpleQuery(POOL_CONNECTION * frontend,
}
}
}
- else if (REPLICATION && contents == NULL && start_internal_transaction(frontend, backend, node))
- {
- pool_query_context_destroy(query_context);
- return POOL_ERROR;
- }
}
if (MAJOR(backend) == PROTO_MAJOR_V2 && is_start_transaction_query(node))
[parent: a4d217a9976b]