[MDEV-19135] Wrong result in log audit plugin : just one character of query executed Created: 2019-04-02  Updated: 2023-04-24  Resolved: 2023-04-24

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

Type: Bug Priority: Major
Reporter: Laurent Dangeard Assignee: Alexey Botchkov
Resolution: Not a Bug Votes: 0
Labels: regression
Environment:

RH 7.2
PLUGIN

  • PLUGIN_NAME: SERVER_AUDIT
  • PLUGIN_VERSION: 1.4
  • PLUGIN_TYPE_VERSION: 3.2
  • PLUGIN_LIBRARY: server_audit.so
  • PLUGIN_LIBRARY_VERSION: 1.13
  • PLUGIN_AUTH_VERSION: 1.4.


 Description   

Regression with plugin 1.4 and 1.3

In 1.3, you have all character of executerd query in audit file

20160201 12:25:17,dvdbadb1,root,localhost,4,5,QUERY,piste24h,'drop table lolo',0

In 1.4, just one character

20160201 12:25:17,dvdbadb1,root,localhost,4,5,QUERY,piste24h,'d',0



 Comments   
Comment by Laurent Dangeard [ 2019-05-24 ]

Hye,
I understand what i do.
In my my.cnf, i just add server_audit_query_log_limit without value, so Mariadb set 1 to server_audit_query_log_limit.

I'm really sorry

You can close this issue

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