]> granicus.if.org Git - postgis/commitdiff
Initailize config value from simple_geometries
authorPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 4 Jan 2010 23:25:15 +0000 (23:25 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Mon, 4 Jan 2010 23:25:15 +0000 (23:25 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5101 b70326c6-7e19-0410-871a-916f4a2858ee

loader/shp2pgsql-core.c

index 17be5cbb2ab7d4b2deaf83ac3a6bf695ca79ac18..af6e0bb2f972cb7e744c0e86640e39f97cfa5537 100644 (file)
@@ -854,6 +854,7 @@ set_config_defaults(SHPLOADERCONFIG *config)
        config->quoteidentifiers = 0;
        config->null_policy = POLICY_NULL_INSERT;
        config->encoding = strdup(ENCODING_DEFAULT);
+       config->simple_geometries = 0;
 }
 
 /* Create a new shapefile state object */