[GRASS-SVN] r62300 - grass/trunk/vector/v.surf.rst
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Oct 19 20:22:47 PDT 2014
Author: annakrat
Date: 2014-10-19 20:22:47 -0700 (Sun, 19 Oct 2014)
New Revision: 62300
Modified:
grass/trunk/vector/v.surf.rst/main.c
Log:
v.surf.rst: attempt to fix #2452
Modified: grass/trunk/vector/v.surf.rst/main.c
===================================================================
--- grass/trunk/vector/v.surf.rst/main.c 2014-10-20 02:39:37 UTC (rev 62299)
+++ grass/trunk/vector/v.surf.rst/main.c 2014-10-20 03:22:47 UTC (rev 62300)
@@ -595,6 +595,7 @@
G_fatal_error(_("Unable to create table '%s'"),
db_get_string(&sql2));
}
+ db_begin_transaction(driver2);
count = 1;
}
@@ -754,8 +755,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