[MDEV-7460] Server audit: (SELECT ...) is not recognized as 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_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


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