[GRASS-SVN] r60546 - grass/branches/releasebranch_7_0/lib/vector/Vlib
svn_grass at osgeo.org
svn_grass at osgeo.org
Wed May 28 08:08:21 PDT 2014
Author: martinl
Date: 2014-05-28 08:08:20 -0700 (Wed, 28 May 2014)
New Revision: 60546
Modified:
grass/branches/releasebranch_7_0/lib/vector/Vlib/simple_features.c
Log:
vlib: fix sf table name handling
(merge r60544 from trunk)
Modified: grass/branches/releasebranch_7_0/lib/vector/Vlib/simple_features.c
===================================================================
--- grass/branches/releasebranch_7_0/lib/vector/Vlib/simple_features.c 2014-05-28 15:07:55 UTC (rev 60545)
+++ grass/branches/releasebranch_7_0/lib/vector/Vlib/simple_features.c 2014-05-28 15:08:20 UTC (rev 60546)
@@ -325,7 +325,7 @@
return -1;
}
- sprintf(stmt, "SELECT count(*) FROM \"%s\".%s", pg_info->schema_name,
+ sprintf(stmt, "SELECT count(*) FROM \"%s\".\"%s\"", pg_info->schema_name,
pg_info->table_name);
nfeat = Vect__execute_get_value_pg(pg_info->conn, stmt);
if (nfeat < 0) {
More information about the grass-commit
mailing list