[GRASS-SVN] r73275 - grass/branches/releasebranch_7_6/vector/v.distance

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 5 06:21:49 PDT 2018


Author: mlennert
Date: 2018-09-05 06:21:49 -0700 (Wed, 05 Sep 2018)
New Revision: 73275

Modified:
   grass/branches/releasebranch_7_6/vector/v.distance/main.c
Log:
v.distance: only use Vect_set_db_updated(&From) when existing table is updated (backport from trunk r73272)

Modified: grass/branches/releasebranch_7_6/vector/v.distance/main.c
===================================================================
--- grass/branches/releasebranch_7_6/vector/v.distance/main.c	2018-09-05 13:14:16 UTC (rev 73274)
+++ grass/branches/releasebranch_7_6/vector/v.distance/main.c	2018-09-05 13:21:49 UTC (rev 73275)
@@ -1745,9 +1745,9 @@
 	    G_done_msg(_("%d records updated."), update_ok);
 
 	    G_free(catexist);
+	    Vect_set_db_updated(&From);
 	}
 
-	Vect_set_db_updated(&From);
     }
 
     Vect_close(&From);



More information about the grass-commit mailing list