[GRASS-SVN] r73273 - grass/branches/releasebranch_7_4/vector/v.distance

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 5 06:13:34 PDT 2018


Author: mlennert
Date: 2018-09-05 06:13:34 -0700 (Wed, 05 Sep 2018)
New Revision: 73273

Modified:
   grass/branches/releasebranch_7_4/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_4/vector/v.distance/main.c
===================================================================
--- grass/branches/releasebranch_7_4/vector/v.distance/main.c	2018-09-05 13:08:47 UTC (rev 73272)
+++ grass/branches/releasebranch_7_4/vector/v.distance/main.c	2018-09-05 13:13:34 UTC (rev 73273)
@@ -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