]> granicus.if.org Git - postgis/commitdiff
removed just-introduced bug
authorSandro Santilli <strk@keybit.net>
Wed, 10 Mar 2004 17:35:16 +0000 (17:35 +0000)
committerSandro Santilli <strk@keybit.net>
Wed, 10 Mar 2004 17:35:16 +0000 (17:35 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@484 b70326c6-7e19-0410-871a-916f4a2858ee

loader/shp2pgsql.c

index ab7997fc8153ce00602253882ae9345f97ed0f4f..b6162ba268b61babd8f39645517f9651a05bd444 100644 (file)
@@ -12,6 +12,9 @@
  * 
  **********************************************************************
  * $Log$
+ * Revision 1.52  2004/03/10 17:35:16  strk
+ * removed just-introduced bug
+ *
  * Revision 1.51  2004/03/10 17:23:56  strk
  * code cleanup, fixed a bug missing to transform 'gid' to 'gid__2' in shapefile attribute name
  *
@@ -798,7 +801,6 @@ int main (int ARGC, char **ARGV){
                strcpy(names[j], name);
 
                if (j) strcat(col_names, ",");
-               else sprintf(col_names, "(");
                sprintf(col_names, "%s\"%s\"", col_names, name);
        }
        strcat(col_names, ",the_geom)");