[GRASS-SVN] r54295 - grass/trunk/vector/v.in.db

svn_grass at osgeo.org svn_grass at osgeo.org
Sat Dec 15 04:58:09 PST 2012


Author: martinl
Date: 2012-12-15 04:58:09 -0800 (Sat, 15 Dec 2012)
New Revision: 54295

Modified:
   grass/trunk/vector/v.in.db/main.c
Log:
v.in.db: use Vect_set_error_handler_io()


Modified: grass/trunk/vector/v.in.db/main.c
===================================================================
--- grass/trunk/vector/v.in.db/main.c	2012-12-15 12:47:43 UTC (rev 54294)
+++ grass/trunk/vector/v.in.db/main.c	2012-12-15 12:58:09 UTC (rev 54295)
@@ -117,7 +117,8 @@
     db_init_string(&sql);
 
     Vect_open_new(&Map, outvect->answer, with_z);
-
+    Vect_set_error_handler_io(NULL, &Map);
+    
     Vect_hist_command(&Map);
 
     fi = Vect_default_field_info(&Map, 1, NULL, GV_1TABLE);



More information about the grass-commit mailing list