瀏覽代碼

v.to.db: move G_percent(1,1,1) after loop
(merge from devbr6, https://trac.osgeo.org/grass/changeset/34918)


git-svn-id: https://svn.osgeo.org/grass/grass/trunk@34919 15284696-431f-4ddb-bdfa-cd5b030d7da7

Martin Landa 16 年之前
父節點
當前提交
3f96c47c46
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      vector/v.to.db/update.c

+ 1 - 1
vector/v.to.db/update.c

@@ -187,7 +187,6 @@ int update(struct Map_info *Map)
 		}
 	    }
 	}
-	G_percent(1, 1, 1);
 
 	G_debug(3, "SQL: %s", buf2);
 	db_set_string(&stmt, buf2);
@@ -235,6 +234,7 @@ int update(struct Map_info *Map)
 	    }
 	}
     }
+    G_percent(1, 1, 1);
 
     db_commit_transaction(driver);