From b7e29fb6f04f90bac52eb1fb3f218df6ec184b9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20M=C3=A4kel=C3=A4?= Date: Tue, 14 Mar 2017 13:12:02 +0200 Subject: [PATCH] Add example use of `match` and `ignore` parameters The CCRFilter documentation now has examples for both `match` and `ignore`. --- Documentation/Filters/CCRFilter.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Documentation/Filters/CCRFilter.md b/Documentation/Filters/CCRFilter.md index 6de13ce3b..baad24144 100644 --- a/Documentation/Filters/CCRFilter.md +++ b/Documentation/Filters/CCRFilter.md @@ -64,6 +64,10 @@ An optional parameter that can be used to control which statements trigger the statement re-routing. The parameter value is a regular expression that is used to match against the SQL text. Only non-SELECT statements are inspected. +``` +match=.*INSERT.* +``` + ### `ignore` An optional parameter that can be used to control which statements don't trigger @@ -71,6 +75,10 @@ the statement re-routing. This does the opposite of the _match_ parameter. The parameter value is a regular expression that is used to match against the SQL text. Only non-SELECT statements are inspected. +``` +ignore=.*UPDATE.* +``` + ## Example Configuration Here is a minimal filter configuration for the CCRFilter which should solve most