Commit 0f645958 authored by Alexander Korotkov's avatar Alexander Korotkov

Remove extra usage of BoxPGetDatum() macro

Author: Mark Dilger
Discussion: https://postgr.es/m/B2AEFCD0-836D-4654-9D59-3DF616E0A6F3%40gmail.com
parent 27e082b0
......@@ -465,8 +465,7 @@ spg_quad_leaf_consistent(PG_FUNCTION_ARGS)
if (res && in->norderbys > 0)
/* ok, it passes -> let's compute the distances */
out->distances = spg_key_orderbys_distances(
BoxPGetDatum(in->leafDatum), true,
out->distances = spg_key_orderbys_distances(in->leafDatum, true,
in->orderbys, in->norderbys);
PG_RETURN_BOOL(res);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment