Skip to content

Commit

Permalink
MSSQL2008: deal with termination '$' at end of regular expression. Fo…
Browse files Browse the repository at this point in the history
…llow-up of eea166a (refs #5825) (#5841)

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

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

0 comments on commit d2e0517

Please sign in to comment.