[GRASS-SVN] r58286 - grass/branches/develbranch_6/vector/v.what.rast
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Nov 22 17:27:01 PST 2013
Author: hamish
Date: 2013-11-22 17:27:01 -0800 (Fri, 22 Nov 2013)
New Revision: 58286
Modified:
grass/branches/develbranch_6/vector/v.what.rast/main.c
Log:
only report DB select count when DB is used (merge from trunk)
Modified: grass/branches/develbranch_6/vector/v.what.rast/main.c
===================================================================
--- grass/branches/develbranch_6/vector/v.what.rast/main.c 2013-11-23 01:26:16 UTC (rev 58285)
+++ grass/branches/develbranch_6/vector/v.what.rast/main.c 2013-11-23 01:27:01 UTC (rev 58286)
@@ -674,15 +674,12 @@
}
/* Report */
- G_message(_("%d categories loaded from table"), select);
G_message(_("%d categories loaded from vector"), point_cnt);
-
- if (!print_flag->answer)
- G_message(_("%d categories from vector missing in table"), norec_cnt);
-
G_message(_("%d duplicate categories in vector"), dupl_cnt);
if (!print_flag->answer) {
+ G_message(_("%d categories loaded from table"), select);
+ G_message(_("%d categories from vector missing in table"), norec_cnt);
if (!where_opt->answer)
G_message(_("%d records updated"), update_cnt);
G_message(_("%d update errors"), upderr_cnt);
More information about the grass-commit
mailing list