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:
@@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user