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

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Not a Bug
    • Affects Version/s: N/A
    • Fix Version/s: 5.5.42
    • Component/s: Plugin - Audit
    • Labels:
      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

            Assignee:
            holyfoot Alexey Botchkov
            Reporter:
            elenst Elena Stepanova
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: