]> granicus.if.org Git - postgis/commitdiff
Fix test_estimation.pl script so it doesn't require oids - no-one uses these in the...
authorMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Thu, 15 Oct 2009 17:44:48 +0000 (17:44 +0000)
committerMark Cave-Ayland <mark.cave-ayland@siriusit.co.uk>
Thu, 15 Oct 2009 17:44:48 +0000 (17:44 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@4652 b70326c6-7e19-0410-871a-916f4a2858ee

utils/test_estimation.pl

index c21e57a3583adc772cfb397d586274cdf6c2cf45..cc2f3d0c635d9e74d6e3aa891b214d66c9f6b36e 100755 (executable)
@@ -263,7 +263,7 @@ sub test_extent
        local($ext) = shift;
 
        # Test whole extent query
-       $query = 'explain analyze select oid from "'.
+       $query = 'explain analyze select 1 from "'.
                $SCHEMA.'"."'.$TABLE.'" WHERE "'.$COLUMN.'" && '.
                "setSRID('BOX3D(".$ext->{'xmin'}." ".
                $ext->{'ymin'}.", ".$ext->{'xmax'}." ".