Uploaded image for project: 'MariaDB MaxScale'
  1. MariaDB MaxScale
  2. MXS-4602

Qlafilter logs responses from non-matched queries

    XMLWordPrintable

Details

    Description

      If the filter is configured with match=/something|anything/ and the following SQL is executed:

      SELECT 'nothing';
      SELECT 'something';
      SELECT 'everything';
      SELECT 'anything';
      

      The log should only contain lines for the second and fourth queries. The actual result is that the second query is repeated twice after which the fourth query is logged. In addition, there is an empty line that is similar tothe ones in MXS-4551.

      Date,User@Host,Query
      ,skysql@::ffff:192.168.122.1,
      2023-04-27 13:15:42,skysql@::ffff:192.168.122.1,SELECT 'something'
      2023-04-27 13:15:42,skysql@::ffff:192.168.122.1,SELECT 'something'
      2023-04-27 13:15:42,skysql@::ffff:192.168.122.1,SELECT 'anything'
      

      Attachments

        Issue Links

          Activity

            People

              markus makela markus makela
              markus makela markus makela
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Git Integration

                  Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.