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

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Jul 13 04:45:49 PDT 2018


Author: mmetz
Date: 2018-07-13 04:45:49 -0700 (Fri, 13 Jul 2018)
New Revision: 72984

Modified:
   grass/trunk/vector/v.distance/main.c
Log:
v.distance: use default db connection of current mapset for new vector db connection

Modified: grass/trunk/vector/v.distance/main.c
===================================================================
--- grass/trunk/vector/v.distance/main.c	2018-07-13 09:36:07 UTC (rev 72983)
+++ grass/trunk/vector/v.distance/main.c	2018-07-13 11:45:49 UTC (rev 72984)
@@ -1748,7 +1748,6 @@
 	if (create_table) {
 	    dbConnection connection;
 
-	    db_set_default_connection();
 	    db_get_connection(&connection);
 	    Vect_map_add_dblink(Outp, 1, NULL, opt.table->answer, "cat",
 				connection.databaseName,



More information about the grass-commit mailing list