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

Audit: QUERY event contains an empty field and does not contain default schema

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      The QUERY event has a position between IP address and connection ID, which seems to be always empty.
      At the same time, it does not log the default schema where the query was executed, while I think it should be expected for events of this type.

      The test already exists in server_audit.test and the result is recorded as described above:

      set global server_audit_incl_ddl_users='odin, dva, tri';
      create table t1 (id int);
      ...
      TIME,HOSTNAME,root[root] @ localhost [],,1,QUERY,set global server_audit_incl_ddl_users='odin, dva, tri'
      TIME,HOSTNAME,root[root] @ localhost [],,1,QUERY,create table t1 (id int)

      Attachments

        Issue Links

          Activity

            People

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