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

Server audit: Queries from executable comments aren't recognized as DDL or DML

    XMLWordPrintable

    Details

      Description

      MariaDB [test]> set global server_audit_events = query_ddl;
      Query OK, 0 rows affected (0.00 sec)
       
      MariaDB [test]> create table t1 (i int);
      Query OK, 0 rows affected (0.27 sec)
       
      MariaDB [test]> /*! create table t2 (i int) */;
      Query OK, 0 rows affected (0.21 sec)
       
      MariaDB [test]> create table t3 (i int);
      Query OK, 0 rows affected (0.27 sec)

      20150114 19:25:26,wheezy-64,root,localhost,3,27,QUERY,test,'create table t1 (i int)',0
      20150114 19:25:50,wheezy-64,root,localhost,3,30,QUERY,test,'create table t3 (i int)',0

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: