1
0
mirror of https://github.com/postgres/postgres.git synced 2025-09-02 04:21:28 +03:00

Minor formatting cleanup for 2a6368343f

This commit is contained in:
Alexander Korotkov
2018-09-27 23:29:50 +03:00
parent 0f64595894
commit 4ec90f53f1
2 changed files with 6 additions and 12 deletions

View File

@@ -317,16 +317,14 @@ spg_kd_inner_consistent(PG_FUNCTION_ARGS)
if (in->norderbys > 0)
{
MemoryContext oldCtx = MemoryContextSwitchTo(
in->traversalMemoryContext);
MemoryContext oldCtx = MemoryContextSwitchTo(in->traversalMemoryContext);
BOX *box = box_copy(&bboxes[i - 1]);
MemoryContextSwitchTo(oldCtx);
out->traversalValues[out->nNodes] = box;
out->distances[out->nNodes] = spg_key_orderbys_distances(
BoxPGetDatum(box), false,
out->distances[out->nNodes] = spg_key_orderbys_distances(BoxPGetDatum(box), false,
in->orderbys, in->norderbys);
}