[postgis-tickets] r15369 - Comment out a debug logging causing suspicious test fail

bjorn at wololo.org bjorn at wololo.org
Tue Apr 25 13:53:32 PDT 2017


Author: bjornharrtell
Date: 2017-04-25 13:53:32 -0700 (Tue, 25 Apr 2017)
New Revision: 15369

Modified:
   trunk/postgis/mvt.c
   trunk/regress/mvt_expected
Log:
Comment out a debug logging causing suspicious test fail

Modified: trunk/postgis/mvt.c
===================================================================
--- trunk/postgis/mvt.c	2017-04-25 08:20:11 UTC (rev 15368)
+++ trunk/postgis/mvt.c	2017-04-25 20:53:32 UTC (rev 15369)
@@ -619,7 +619,8 @@
 	GSERIALIZED *gs = (GSERIALIZED *) PG_DETOAST_DATUM(datum);
 	LWGEOM *lwgeom = lwgeom_from_gserialized(gs);
 
-	POSTGIS_DEBUGF(3, "mvt_agg_transfn encoded feature count: %d", layer->n_features);
+	// TODO: find out why a POSTGIS_DEBUGF affects encoding/uthash (memory issue?)
+	//POSTGIS_DEBUGF(3, "mvt_agg_transfn encoded feature count: %d", layer->n_features);
 	layer->features[layer->n_features++] = feature;
 
 	encode_geometry(ctx, lwgeom);

Modified: trunk/regress/mvt_expected
===================================================================
--- trunk/regress/mvt_expected	2017-04-25 08:20:11 UTC (rev 15368)
+++ trunk/regress/mvt_expected	2017-04-25 20:53:32 UTC (rev 15369)
@@ -25,8 +25,8 @@
 TA6|GisKBHRlc3QSDhIEAAABARgBIgQJMt4/GgJjMRoCYzIiAigBIgIwASiAIHgC
 TA7|Gk4KBHRlc3QSDBICAAAYASIECTTcPxIMEgIAARgBIgQJMt4/EgwSAgABGAEiBAk03D8aAmMxIgsK
 CW90aGVydGVzdCIGCgR0ZXN0KIAgeAI=
-TA8|GkUKBHRlc3QSDBICAAAYASIECTLePxIMEgIAARgBIgQJNNw/EgwSAgACGAEiBAk03D8aAmMxIgIo
-ASICKAEiAigCKIAgeAI=
+TA8|GkEKBHRlc3QSDBICAAAYASIECTLePxIMEgIAABgBIgQJNNw/EgwSAgABGAEiBAk03D8aAmMxIgIo
+ASICKAIogCB4Ag==
 TU2
 ERROR:  pgis_asmvt_transfn: parameter row cannot be other than a rowtype
 TU3



More information about the postgis-tickets mailing list