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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: N/A
    • Fix Version/s: 5.5.42
    • Component/s: Plugin - Audit
    • Labels:

      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
      

        Gliffy Diagrams

          Attachments

            Activity

            There are no comments yet on this issue.

              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:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 1 hour
                  1h