Add support for comparison operators in dbfwfilter functions

The dbfwfilter now supports the main comparison operators in MySQL. The
string versions (IS, NOT, IS NOT etc.) are not supported.
This commit is contained in:
Markus Mäkelä
2017-01-10 15:26:54 +02:00
parent 6c9a80e957
commit dffad71804
3 changed files with 12 additions and 5 deletions

View File

@ -117,7 +117,9 @@ This rule expects a list of values after the `columns` keyword. These values are
This rule expects a list of values after the `function` keyword. These values
are interpreted as function names and if a query uses any of these, it is
blocked.
blocked. The symbolic comparison operators (`<`, `>`, `>=` etc.) are also
considered functions whereas the text versions (`NOT`, `IS`, `IS NOT` etc.) are
not considered functions.
#### `regex`