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

    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_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
      

        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, 30 minutes
                  1h 30m