pull/7555/head
EmelSimsek 2024-03-08 14:54:42 +03:00
parent c48bf5ebaa
commit 0620d62373
No known key found for this signature in database
GPG Key ID: EB13DFB77C32D7D8
2 changed files with 13 additions and 11 deletions

View File

@ -558,7 +558,8 @@ CreateFixPartitionShardIndexNames(Oid parentRelationId, Oid partitionRelationId,
int taskId = 1;
List *shardPlacementList = FullShardPlacementList(parentRelationId, construct_empty_array(INT4OID));
List *shardPlacementList = FullShardPlacementList(parentRelationId,
construct_empty_array(INT4OID));
List *workerNodeList = ReadDistNode(true);
@ -566,7 +567,8 @@ CreateFixPartitionShardIndexNames(Oid parentRelationId, Oid partitionRelationId,
/* make sure we have deterministic output for our tests */
workerNodeList = SortList(workerNodeList, CompareWorkerNodes);
MemoryContext localContext = AllocSetContextCreate(CurrentMemoryContext, "CreateFixPartitionShardIndexNames",
MemoryContext localContext = AllocSetContextCreate(CurrentMemoryContext,
"CreateFixPartitionShardIndexNames",
ALLOCSET_DEFAULT_SIZES);
MemoryContext oldContext = MemoryContextSwitchTo(localContext);