Permalink
Browse files

Remove default translation behavior that sets filter->native_string s…

…ince filters are MapServer expressions only.
  • Loading branch information...
sdlime committed Oct 23, 2014
1 parent c11e13a commit d330457c6a06d32604803a391bb1674f5226c97d
Showing with 0 additions and 5 deletions.
  1. +0 −5 maplayer.c
View
@@ -1670,11 +1670,6 @@ int LayerDefaultTranslateFilter(layerObj *layer, expressionObj *filter, char *fi
{
if(!filter->string) return MS_SUCCESS; /* nothing to do, not an error */
if(filter->type == MS_STRING && filter->string && !filteritem) {
filter->native_string = msStrdup(filter->string);
return MS_SUCCESS;
}
msSetError(MS_MISCERR, "This data driver does not implement filter translation support", "LayerDefaultTranslateFilter()");
return MS_FAILURE;
}

0 comments on commit d330457

Please sign in to comment.