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

Server audit: DDL executed via a stored procedure is invisible for QUERY_DDL

    XMLWordPrintable

Details

    • 5.5.48-0

    Description

      MariaDB [test]> set global server_audit_events='QUERY_DDL';
      Query OK, 0 rows affected (0.00 sec)
       
      MariaDB [test]> create procedure p1() create table tmp (i int);
      Query OK, 0 rows affected (0.00 sec)
       
      MariaDB [test]> call p1();
      Query OK, 0 rows affected (0.21 sec)

      Only procedure creation is logged, but neither procedure call nor table creation appear in the log.

      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.