[GRASS-SVN] r46678 - grass/branches/releasebranch_6_4/vector/v.out.ogr

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Jun 13 08:18:49 EDT 2011


Author: mmetz
Date: 2011-06-13 05:18:49 -0700 (Mon, 13 Jun 2011)
New Revision: 46678

Modified:
   grass/branches/releasebranch_6_4/vector/v.out.ogr/main.c
Log:
remove half-fix, attribute export is restored

Modified: grass/branches/releasebranch_6_4/vector/v.out.ogr/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.out.ogr/main.c	2011-06-13 12:16:00 UTC (rev 46677)
+++ grass/branches/releasebranch_6_4/vector/v.out.ogr/main.c	2011-06-13 12:18:49 UTC (rev 46678)
@@ -1064,12 +1064,6 @@
 
 	    if (db_fetch(&cursor, DB_NEXT, &more) != DB_OK)
 		G_fatal_error(_("Unable to fetch data from table"));
-	    if (!more) {
-		/* start from the beginning in case multiple grass vector features
-		 * share the same category */
-		if (db_fetch(&cursor, DB_NEXT, &more) != DB_OK)
-		    G_fatal_error(_("Unable to fetch data from table"));
-	    }
 
 	    if (!more) {
 		/* G_warning ("No database record for cat = %d", cat); */



More information about the grass-commit mailing list