Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-7441

Server audit: QUERY_DML + QUERY_DDL != QUERY, some queries aren't logged

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Not a Bug
    • N/A
    • 5.5.42
    • Plugin - Audit
    • None

    Description

      The document about new 1.2.0 Audit features says "The option QUERY still can be used and is equal to using both QUERY_DML and QUERY_DDL."
      It is not so; some queries aren't logged either with QUERY_DML or QUERY_DDL, but are logged with QUERY. Just one example is ANALYZE TABLE t1; there are many more, including those that aren't related to tables (directly), e.g. SET @a=1.

      Attachments

        Activity

          People

            holyfoot Alexey Botchkov
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            2 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.