Skip to content

Commit

Permalink
Fixed config_filter.yaml for MySQL >= 8.0.3
Browse files Browse the repository at this point in the history
`SYSTEM` is a reserved word since MySQL 8.0.3. If a user enables the [System Filter](https://github.com/vdlp/oc-redirect-plugin/blob/cd137f1a2d4ec096fb9db7f04a73a6f475d216af/controllers/redirects/config_filter.yaml#L6) the generated query will fail.
  • Loading branch information
verenaroe authored Sep 13, 2023
1 parent cd137f1 commit ac07ac6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions controllers/redirects/config_filter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ scopes:
label: vdlp.redirect::lang.list.switch_system
type: switch
conditions:
- system <> true
- system = true
- "`system` <> true"
- "`system` = true"
is_enabled:
label: vdlp.redirect::lang.list.switch_is_enabled
type: switch
Expand Down

0 comments on commit ac07ac6

Please sign in to comment.