Skip to content

Commit

Permalink
MSSQL: Update time filter vtable function
Browse files Browse the repository at this point in the history
  • Loading branch information
szekerest committed Jun 8, 2015
1 parent 2020c2c commit 61592a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mapmssql2008.c
Original file line number Diff line number Diff line change
Expand Up @@ -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*/
Expand Down Expand Up @@ -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 */

Expand Down

0 comments on commit 61592a7

Please sign in to comment.