[GRASS-SVN] r73272 - grass/trunk/vector/v.distance

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Sep 5 06:08:47 PDT 2018


Author: mlennert
Date: 2018-09-05 06:08:47 -0700 (Wed, 05 Sep 2018)
New Revision: 73272

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

Modified: grass/trunk/vector/v.distance/main.c
===================================================================
--- grass/trunk/vector/v.distance/main.c	2018-09-05 09:01:59 UTC (rev 73271)
+++ grass/trunk/vector/v.distance/main.c	2018-09-05 13:08:47 UTC (rev 73272)
@@ -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