[postgis-commits] svn - r3559 - branches/1.3/loader
postgis-commits at postgis.refractions.net
postgis-commits at postgis.refractions.net
Thu Jan 22 10:14:54 PST 2009
Author: robe
Date: 2009-01-22 10:14:54 -0800 (Thu, 22 Jan 2009)
New Revision: 3559
Modified:
branches/1.3/loader/dbfopen.c
branches/1.3/loader/shp2pgsql.c
Log:
#HISTORY: #GBT 99: shp2pgsql 'Only import DBF' error.
Modified: branches/1.3/loader/dbfopen.c
===================================================================
--- branches/1.3/loader/dbfopen.c 2009-01-22 18:02:34 UTC (rev 3558)
+++ branches/1.3/loader/dbfopen.c 2009-01-22 18:14:54 UTC (rev 3559)
@@ -784,8 +784,7 @@
pabyRec = (unsigned char *) psDBF->pszCurrentRecord;
/* 0x20 => not deleted, 0x24 => deleted */
- return *pabyRec == 0x20 ? 1 : 0;
-
+ return *pabyRec == 0x20 ? 0 : 1;
}
/************************************************************************/
Modified: branches/1.3/loader/shp2pgsql.c
===================================================================
--- branches/1.3/loader/shp2pgsql.c 2009-01-22 18:02:34 UTC (rev 3558)
+++ branches/1.3/loader/shp2pgsql.c 2009-01-22 18:14:54 UTC (rev 3559)
@@ -674,9 +674,9 @@
/* transaction stuff done */
/*skip the record if it has been deleted*/
- if(readshape != 1 && DBFReadDeleted(hDBFHandle, j)) {
- continue;
- }
+ if(readshape != 1 && DBFReadDeleted(hDBFHandle, j)) {
+ continue;
+ }
/*open the next object */
More information about the postgis-commits
mailing list