mirror of https://github.com/citusdata/citus.git
Reindent
parent
c48bf5ebaa
commit
0620d62373
|
@ -558,7 +558,8 @@ CreateFixPartitionShardIndexNames(Oid parentRelationId, Oid partitionRelationId,
|
||||||
|
|
||||||
int taskId = 1;
|
int taskId = 1;
|
||||||
|
|
||||||
List *shardPlacementList = FullShardPlacementList(parentRelationId, construct_empty_array(INT4OID));
|
List *shardPlacementList = FullShardPlacementList(parentRelationId,
|
||||||
|
construct_empty_array(INT4OID));
|
||||||
|
|
||||||
|
|
||||||
List *workerNodeList = ReadDistNode(true);
|
List *workerNodeList = ReadDistNode(true);
|
||||||
|
@ -566,7 +567,8 @@ CreateFixPartitionShardIndexNames(Oid parentRelationId, Oid partitionRelationId,
|
||||||
/* make sure we have deterministic output for our tests */
|
/* make sure we have deterministic output for our tests */
|
||||||
workerNodeList = SortList(workerNodeList, CompareWorkerNodes);
|
workerNodeList = SortList(workerNodeList, CompareWorkerNodes);
|
||||||
|
|
||||||
MemoryContext localContext = AllocSetContextCreate(CurrentMemoryContext, "CreateFixPartitionShardIndexNames",
|
MemoryContext localContext = AllocSetContextCreate(CurrentMemoryContext,
|
||||||
|
"CreateFixPartitionShardIndexNames",
|
||||||
ALLOCSET_DEFAULT_SIZES);
|
ALLOCSET_DEFAULT_SIZES);
|
||||||
MemoryContext oldContext = MemoryContextSwitchTo(localContext);
|
MemoryContext oldContext = MemoryContextSwitchTo(localContext);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue