Skip to content
Permalink
Browse files

MSSQL2008: deal with termination '$' at end of regular expression. Fo…

…llow-up of eea166a (refs #5825) (#5841)

Tested and confirm this fixes the issue
  • Loading branch information...
rouault committed Jul 30, 2019
1 parent 0b3687b commit cdde556308774d734cbc8ba8afbf4753832b22e4
Showing with 2 additions and 0 deletions.
  1. +2 −0 mapmssql2008.c
@@ -2988,6 +2988,8 @@ int process_node(layerObj* layer, expressionObj *filter)
i++;
continue;
}
if( c == '$' && c_next == 0 && strtmpl[0] == '^' )
break;

if (c == '\\') {
i++;

0 comments on commit cdde556

Please sign in to comment.
You can’t perform that action at this time.