]> granicus.if.org Git - postgis/commitdiff
#3131, fix crasher
authorPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 29 May 2015 23:07:10 +0000 (23:07 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Fri, 29 May 2015 23:07:10 +0000 (23:07 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@13585 b70326c6-7e19-0410-871a-916f4a2858ee

postgis/geography_measurement.c

index 3a0451dc947ab93fd22bac5b17e0ebaf381f1689..7ac674716aaa92943d0f02597260b1e600de80d5 100644 (file)
@@ -58,6 +58,7 @@ Datum geography_distance_knn(PG_FUNCTION_ARGS)
        return DirectFunctionCall3(geography_distance_uncached, 
                PG_GETARG_DATUM(0), 
                PG_GETARG_DATUM(1), 
+               (Datum)0, 
                BoolGetDatum(false));
 }