]> granicus.if.org Git - postgis/commitdiff
Comment datum slice pull.
authorPaul Ramsey <pramsey@cleverelephant.ca>
Tue, 3 Feb 2009 01:04:11 +0000 (01:04 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Tue, 3 Feb 2009 01:04:11 +0000 (01:04 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@3620 b70326c6-7e19-0410-871a-916f4a2858ee

lwgeom/lwgeom_gist.c

index 87503e175b7f978bc8e5b7b4efbc937ce3c4c523..56fa17d22ddfdb9f48f2120866b221bd4df3ee4e 100644 (file)
@@ -573,6 +573,7 @@ Datum LWGEOM_gist_consistent(PG_FUNCTION_ARGS)
        /*
        ** First pull only a small amount of the tuple, enough to 
        ** get the bounding box, if one exists.
+       ** size = header + type + box2df4?
        */
        query = (PG_LWGEOM*)PG_DETOAST_DATUM_SLICE(PG_GETARG_DATUM(1), 0, VARHDRSZ + 1 + sizeof(BOX2DFLOAT4) );