[GRASS-SVN] r39265 - grass/branches/releasebranch_6_4/vector/v.in.ascii

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Sep 20 01:00:14 EDT 2009


Author: hamish
Date: 2009-09-20 01:00:14 -0400 (Sun, 20 Sep 2009)
New Revision: 39265

Modified:
   grass/branches/releasebranch_6_4/vector/v.in.ascii/in.c
Log:
make column scanning result a bit more public as it can be buggy sometimes (trac #198)

Modified: grass/branches/releasebranch_6_4/vector/v.in.ascii/in.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.in.ascii/in.c	2009-09-20 04:56:25 UTC (rev 39264)
+++ grass/branches/releasebranch_6_4/vector/v.in.ascii/in.c	2009-09-20 05:00:14 UTC (rev 39265)
@@ -335,7 +335,7 @@
 
 		switch (coltype[i]) {
 		case DB_C_TYPE_INT:
-		    G_verbose_message("Column: %d  type: integer", i + 1);
+		    G_message("Column: %d  type: integer", i + 1);
 		    if (!columns_opt->answer) {
 			sprintf(buf, "int_%d integer", n_int + 1);
 			db_append_string(&sql, buf);
@@ -347,7 +347,7 @@
 		    n_int++;
 		    break;
 		case DB_C_TYPE_DOUBLE:
-		    G_verbose_message("Column: %d  type: double", i + 1);
+		    G_message("Column: %d  type: double", i + 1);
 		    if (!columns_opt->answer) {
 			sprintf(buf, "dbl_%d double precision", n_double + 1);
 			db_append_string(&sql, buf);
@@ -355,7 +355,7 @@
 		    n_double++;
 		    break;
 		case DB_C_TYPE_STRING:
-		    G_verbose_message("Column: %d  type: string length: %d",
+		    G_message("Column: %d  type: string length: %d",
 				      i + 1, collen[i]);
 		    if (!columns_opt->answer) {
 			sprintf(buf, "str_%d varchar(%d)", n_string + 1,



More information about the grass-commit mailing list