[GRASS-SVN] r40044 -
grass/branches/releasebranch_6_4/vector/v.random
svn_grass at osgeo.org
svn_grass at osgeo.org
Fri Dec 18 09:35:21 EST 2009
Author: martinl
Date: 2009-12-18 09:35:21 -0500 (Fri, 18 Dec 2009)
New Revision: 40044
Modified:
grass/branches/releasebranch_6_4/vector/v.random/main.c
Log:
v.random: zcol bugfix
(merge r40042 from trunk)
Modified: grass/branches/releasebranch_6_4/vector/v.random/main.c
===================================================================
--- grass/branches/releasebranch_6_4/vector/v.random/main.c 2009-12-18 14:29:43 UTC (rev 40043)
+++ grass/branches/releasebranch_6_4/vector/v.random/main.c 2009-12-18 14:35:21 UTC (rev 40044)
@@ -163,7 +163,7 @@
db_begin_transaction(driver);
db_init_string(&sql);
- sprintf(buf, "create table %s (cat integer, %s)", Fi->table,
+ sprintf(buf, "create table %s (cat integer, %s double precision)", Fi->table,
parm.zcol->answer);
db_set_string(&sql, buf);
Vect_map_add_dblink(&Out, 1, NULL, Fi->table, "cat", Fi->database,
More information about the grass-commit
mailing list