[GRASS-SVN] r48556 - grass/trunk/vector/v.db.select

svn_grass at osgeo.org svn_grass at osgeo.org
Thu Sep 29 07:14:28 EDT 2011


Author: mmetz
Date: 2011-09-29 04:14:28 -0700 (Thu, 29 Sep 2011)
New Revision: 48556

Modified:
   grass/trunk/vector/v.db.select/main.c
Log:
remove bogus test

Modified: grass/trunk/vector/v.db.select/main.c
===================================================================
--- grass/trunk/vector/v.db.select/main.c	2011-09-29 11:13:11 UTC (rev 48555)
+++ grass/trunk/vector/v.db.select/main.c	2011-09-29 11:14:28 UTC (rev 48556)
@@ -275,10 +275,6 @@
 	Vect_destroy_list(list_lines);
     }
 
-    if (!driver)
-	G_fatal_error(_("Unable to open database <%s> by driver <%s>"),
-		      Fi->database, Fi->driver);
-
     db_close_cursor(&cursor);
     db_close_database_shutdown_driver(driver);
     Vect_close(&Map);



More information about the grass-commit mailing list