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 authored and geographika committed Jul 30, 2019
1 parent eb9c49c commit d2e05178ae54165481c47f2adc93c619c901bdae
Showing 1 changed file with 2 additions and 0 deletions.
@@ -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 d2e0517

Please sign in to comment.