Bladeren bron

v.to.db: add comment for query option, suspected wrong handling of no category

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@64672 15284696-431f-4ddb-bdfa-cd5b030d7da7
Markus Metz 10 jaren geleden
bovenliggende
commit
5401a524c5
1 gewijzigde bestanden met toevoegingen van 1 en 0 verwijderingen
  1. 1 0
      vector/v.to.db/query.c

+ 1 - 0
vector/v.to.db/query.c

@@ -104,6 +104,7 @@ int query(struct Map_info *Map)
 
 	/* Skip if cat is zero and large number of query categories (many features without category).
 	 * It would cause problems on server side and take long time. Postgres limit is 10000 */
+	/* TODO: verify because no category is encoded as cat = -1, not cat = zero */
 	if (Values[i].cat == 0 && Values[i].nqcats > 1000) {
 	    G_warning(_("Query for category '0' (no category) was not executed because of too many "
 		       "(%d) query categories. All later reported values for cat 0 are not valid."),