Document error code and SQL state for blocked queries

If the dbfwfilter blocks a query a specific error is returned. This was
not documented and is needed to detect errors sent by the filter.
This commit is contained in:
Markus Mäkelä
2018-10-17 11:01:39 +03:00
parent 230345c98c
commit 457d0c21dd

View File

@ -88,6 +88,9 @@ action=block
rules=/home/user/blacklist-rules.txt
```
If a query is blocked, the filter will return an error to the client with the
error number 1141 and an SQL state of HY000.
#### `log_match`
Log all queries that match a rule. For the `any` matching mode, the name of the