Skip to content
Permalink
Browse files
msPostGISBuildSQLWhere: quote the geo column name
  • Loading branch information
cladisch committed Apr 10, 2018
1 parent 9d7b942 commit 52b724e8245aec88d86a7d860761239b0fe38895
Showing 1 changed file with 1 addition and 1 deletion.
@@ -2003,7 +2003,7 @@ char *msPostGISBuildSQLWhere(layerObj *layer, rectObj *rect, long *uid, rectObj
char *strBox = 0;
char *strSRID = 0;
size_t strBoxLength = 0;
static const char *strRectTemplate = "%s && %s";
static const char *strRectTemplate = "\"%s\" && %s";

/* We see to set the SRID on the box, but to what SRID? */
strSRID = msPostGISBuildSQLSRID(layer);

0 comments on commit 52b724e

Please sign in to comment.