[GRASS-SVN] r62322 - in grass/branches/releasebranch_7_0: . vector/v.surf.rst

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Oct 21 07:42:00 PDT 2014


Author: annakrat
Date: 2014-10-21 07:42:00 -0700 (Tue, 21 Oct 2014)
New Revision: 62322

Modified:
   grass/branches/releasebranch_7_0/
   grass/branches/releasebranch_7_0/vector/v.surf.rst/main.c
Log:
v.surf.rst: attempt to fix #2452 (merge from trunk, r62300)


Property changes on: grass/branches/releasebranch_7_0
___________________________________________________________________
Modified: svn:mergeinfo
   - /grass/trunk:61280,62141,62144,62269,62271,62276,62288,62305,62310
   + /grass/trunk:61280,62141,62144,62269,62271,62276,62288,62300,62305,62310

Modified: grass/branches/releasebranch_7_0/vector/v.surf.rst/main.c
===================================================================
--- grass/branches/releasebranch_7_0/vector/v.surf.rst/main.c	2014-10-21 14:08:47 UTC (rev 62321)
+++ grass/branches/releasebranch_7_0/vector/v.surf.rst/main.c	2014-10-21 14:42:00 UTC (rev 62322)
@@ -592,6 +592,7 @@
 	    G_fatal_error(_("Unable to create table: '%s'"),
 			  db_get_string(&sql2));
 	}
+	db_begin_transaction(driver2);
 	count = 1;
 
     }
@@ -751,8 +752,8 @@
 	unlink(Tmp_file_xy);
 
     if (cvdev != NULL || devi != NULL) {
-	/*  db_close_database_shutdown_driver ( driver2 ); */
-	db_close_database(driver2);
+	db_commit_transaction(driver2);
+	db_close_database_shutdown_driver(driver2);
 	Vect_build(&Map2);
 	Vect_close(&Map2);
     }



More information about the grass-commit mailing list