]> granicus.if.org Git - postgis/commitdiff
fixed a bug in pgsql2shp which displayed the total DBF rows written as one less than...
authorJeff Lounsbury <jeffloun@refractions.net>
Fri, 7 Jun 2002 18:16:55 +0000 (18:16 +0000)
committerJeff Lounsbury <jeffloun@refractions.net>
Fri, 7 Jun 2002 18:16:55 +0000 (18:16 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@168 b70326c6-7e19-0410-871a-916f4a2858ee

loader/pgsql2shp.c

index bf3bcd3c9178ae427561140efb04f411a23d95fa..dbd6849220dfb8bc3f83c283985fba4426075375 100644 (file)
@@ -332,7 +332,7 @@ printf(conn_string);
                }
        
        }
-       printf("DBF tuple - %d added\n",i-1);
+       printf("DBF tuple - %d added\n",i);
 
        if(flds==0){
                printf("WARNING: There were no fields in the database. The DBF was not created properly, please add a field to the database and try again.");