From b5d1f0b251fa02373d4bd8b82bdb841d04ebf9d6 Mon Sep 17 00:00:00 2001 From: Sandro Santilli Date: Wed, 21 Apr 2004 07:38:34 +0000 Subject: [PATCH] Memory allocated for main_scan_query was not enough when using binary cursor. Fixed git-svn-id: http://svn.osgeo.org/postgis/trunk@505 b70326c6-7e19-0410-871a-916f4a2858ee --- loader/pgsql2shp.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/loader/pgsql2shp.c b/loader/pgsql2shp.c index 9be2e9763..a4ff706da 100644 --- a/loader/pgsql2shp.c +++ b/loader/pgsql2shp.c @@ -10,6 +10,9 @@ * ********************************************************************** * $Log$ + * Revision 1.46 2004/04/21 07:38:34 strk + * Memory allocated for main_scan_query was not enough when using binary cursor. Fixed + * * Revision 1.45 2004/03/29 10:20:48 strk * Fixed a bug in WKB parsing for Multipoints. * Fixed a bug in -d handling for WKB. @@ -2664,7 +2667,7 @@ initialize() tmpint = strlen(table)+2; for (i=0; i