mirror of https://github.com/citusdata/citus.git
Merge pull request #2849 from citusdata/sort-list-is-not-in-place
Update workerNodeList after sortingpull/2851/head
commit
3e6f3e4f3b
|
@ -263,7 +263,7 @@ MetadataCreateCommands(void)
|
|||
bool includeSequenceDefaults = true;
|
||||
|
||||
/* make sure we have deterministic output for our tests */
|
||||
SortList(workerNodeList, CompareWorkerNodes);
|
||||
workerNodeList = SortList(workerNodeList, CompareWorkerNodes);
|
||||
|
||||
/* generate insert command for pg_dist_node table */
|
||||
nodeListInsertCommand = NodeListInsertCommand(workerNodeList);
|
||||
|
|
Loading…
Reference in New Issue