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

Server audit: (SELECT ...) is not recognized as DML

    XMLWordPrintable

    Details

      Description

      MariaDB [test]> set global server_audit_events = 'QUERY_DML';
      Query OK, 0 rows affected (0.00 sec)
       
      MariaDB [test]> select 1;
      +---+
      | 1 |
      +---+
      | 1 |
      +---+
      1 row in set (0.00 sec)
       
      MariaDB [test]> (select 2);
      +---+
      | 2 |
      +---+
      | 2 |
      +---+
      1 row in set (0.00 sec)
       
      MariaDB [test]> select 3;
      +---+
      | 3 |
      +---+
      | 3 |
      +---+
      1 row in set (0.00 sec)

      20150114 19:02:45,wheezy-64,root,localhost,2,85,QUERY,test,'select 1',0
      20150114 19:02:51,wheezy-64,root,localhost,2,87,QUERY,test,'select 3',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: