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

adding schema to qla filter

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 2.3.5
    • Fix Version/s: 2.5.0
    • Component/s: qlafilter
    • Labels:
      None

      Description

      The query metadata captured by qlafilter does not contain the schema on which the query is done. Having this information is useful when multiple applications share a DB but are logically separated by the schema.

      A solution might be to take the schema information from the connection. The only drawback here is queries where we explicitly define another schema. Example:

      mysql -h host -u user -p salary
      > [...] # any query gets automatically the `salary` schema
       
      # edge case:
      > select user from mysql.user;
      

      I would be ok with the edge case not being covered.

        Attachments

          Activity

            People

            Assignee:
            nantti Niclas Antti
            Reporter:
            kadir Kadir
            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.