[postgis-tickets] [SCM] PostGIS branch stable-3.1 updated. 3.1.4-4-g7b58a46

git at osgeo.org git at osgeo.org
Wed Sep 29 01:36:30 PDT 2021


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, stable-3.1 has been updated
       via  7b58a4644dc0d4b9ebedfd33d4e3f9fc717ad211 (commit)
      from  9378f77a80e437b4917db7603538ae2a84b149ed (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 7b58a4644dc0d4b9ebedfd33d4e3f9fc717ad211
Author: Sandro Santilli <strk at kbt.io>
Date:   Tue Sep 28 13:08:41 2021 +0200

    Revert "Harmonize with old behaviour."
    
    This reverts commit 595f840ebc479657adac9143cfaf890faba72f99.
    
    Fixes #4994 in 3.1 branch (3.1.5dev)

diff --git a/NEWS b/NEWS
index 1af3d3e..9b4abb9 100644
--- a/NEWS
+++ b/NEWS
@@ -2,6 +2,7 @@ PostGIS 3.1.5
 2021/XX/XX
 
 * Bug Fixes
+  - #4994, Random missing INSERT in shp2pgsql (Sandro Santilli)
 
 
 
diff --git a/loader/dbfopen.c b/loader/dbfopen.c
index f21c161..32d11a0 100644
--- a/loader/dbfopen.c
+++ b/loader/dbfopen.c
@@ -1750,7 +1750,7 @@ int SHPAPI_CALL DBFIsRecordDeleted( DBFHandle psDBF, int iShape )
 /* -------------------------------------------------------------------- */
 /*	Have we read the record?					*/
 /* -------------------------------------------------------------------- */
-    if( psDBF->nRecords > 0 && !DBFLoadRecord( psDBF, iShape ) )
+    if( !DBFLoadRecord( psDBF, iShape ) )
         return FALSE;
 
 /* -------------------------------------------------------------------- */

-----------------------------------------------------------------------

Summary of changes:
 NEWS             | 1 +
 loader/dbfopen.c | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list