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

The statement canonicalizer cannot handle comments within statements

    XMLWordPrintable

Details

    Description

      The canonicalized version of a statement like

      START/**/TRANSACTION READ WRITE
      

      is

      START
      

      and not

      START TRANSACTION READ WRITE
      

      as it should be.

      The effect of this is that if the query classifier cache is used (which it is by default), there may be false positives if statements contain comments. And the effect of that will be the incorrect classification.

      Attachments

        Activity

          People

            nantti Niclas Antti
            johan.wikman Johan Wikman
            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.