Permalink
Browse files

MSSQL: Update time filter vtable function

  • Loading branch information...
szekerest committed Jun 8, 2015
1 parent 2020c2c commit 61592a7413e473f05bf974412b29bcae7abdbc24
Showing with 2 additions and 2 deletions.
  1. +2 −2 mapmssql2008.c
View
@@ -2711,7 +2711,7 @@ MS_DLL_EXPORT int PluginInitializeVirtualTable(layerVTableObj* vtable, layerObj
/* vtable->LayerGetAutoStyle, not supported for this layer */
vtable->LayerCloseConnection = msMSSQL2008LayerClose;
- vtable->LayerSetTimeFilter = msLayerMakePlainTimeFilter;
+ vtable->LayerSetTimeFilter = msLayerMakeBackticsTimeFilter;
/* vtable->LayerCreateItems, use default */
/* vtable->LayerGetNumFeatures, use default */
/* layer->vtable->LayerGetAutoProjection, use defaut*/
@@ -2749,7 +2749,7 @@ msMSSQL2008LayerInitializeVirtualTable(layerObj *layer)
/* layer->vtable->LayerGetAutoStyle, not supported for this layer */
layer->vtable->LayerCloseConnection = msMSSQL2008LayerClose;
- layer->vtable->LayerSetTimeFilter = msLayerMakePlainTimeFilter;
+ layer->vtable->LayerSetTimeFilter = msLayerMakeBackticsTimeFilter;
/* layer->vtable->LayerCreateItems, use default */
/* layer->vtable->LayerGetNumFeatures, use default */

0 comments on commit 61592a7

Please sign in to comment.