mirror of https://github.com/citusdata/citus.git
Remove fields used in earlier revisions of placement_connection.c.
parent
d6ed47a7e6
commit
4b1d37b7be
|
@ -25,10 +25,6 @@
|
||||||
*/
|
*/
|
||||||
typedef struct ConnectionReference
|
typedef struct ConnectionReference
|
||||||
{
|
{
|
||||||
/* identity information about the connection */
|
|
||||||
uint64 shardId;
|
|
||||||
uint64 placementId;
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The user used to read/modify the placement. We cannot reuse connections
|
* The user used to read/modify the placement. We cannot reuse connections
|
||||||
* that were performed using a different role, since it would not have the
|
* that were performed using a different role, since it would not have the
|
||||||
|
@ -213,8 +209,6 @@ StartPlacementConnection(uint32 flags, ShardPlacement *placement, const char *us
|
||||||
returnConnectionReference->connection = connection;
|
returnConnectionReference->connection = connection;
|
||||||
returnConnectionReference->hadDDL = false;
|
returnConnectionReference->hadDDL = false;
|
||||||
returnConnectionReference->hadDML = false;
|
returnConnectionReference->hadDML = false;
|
||||||
returnConnectionReference->shardId = placement->shardId;
|
|
||||||
returnConnectionReference->placementId = placement->placementId;
|
|
||||||
returnConnectionReference->userName =
|
returnConnectionReference->userName =
|
||||||
MemoryContextStrdup(TopTransactionContext, userName);
|
MemoryContextStrdup(TopTransactionContext, userName);
|
||||||
dlist_push_tail(&placementEntry->connectionReferences,
|
dlist_push_tail(&placementEntry->connectionReferences,
|
||||||
|
|
Loading…
Reference in New Issue