[MDEV-7461] Server audit: Queries from executable comments aren't recognized as DDL or DML Created: 2015-01-14  Updated: 2015-01-15  Resolved: 2015-01-15

Status: Closed
Project: MariaDB Server
Component/s: Plugin - Audit
Affects Version/s: N/A
Fix Version/s: 5.5.42

Type: Bug Priority: Major
Reporter: Elena Stepanova Assignee: Alexey Botchkov
Resolution: Fixed Votes: 0
Labels: audit


 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


Generated at Thu Feb 08 07:19:46 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.