Bug #77255 "23.2.3.6 Audit Plugins" incorrect on logged operations after 60782 fix
Submitted: 5 Jun 2015 9:13 Modified: 25 Jun 2015 13:17
Reporter: Laurynas Biveinis (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Documentation Severity:S3 (Non-critical)
Version:5.6,5.7 OS:Any
Assigned to: CPU Architecture:Any
Tags: audit, doc, plugin

[5 Jun 2015 9:13] Laurynas Biveinis
Description:
https://dev.mysql.com/doc/refman/5.6/en/audit-plugins.html
https://dev.mysql.com/doc/refman/5.7/en/audit-plugins.html

have not been updated after bug 60782 fix. Before that fix, "Write a message to the general query log (if the log is enabled)" was true. Now the notification is decoupled from the general query log setting.

How to repeat:
https://dev.mysql.com/doc/refman/5.6/en/audit-plugins.html
https://dev.mysql.com/doc/refman/5.7/en/audit-plugins.html

Suggested fix:
Update the docs
[5 Jun 2015 9:57] MySQL Verification Team
Hello Laurynas,

Thank you for the report.

Thanks,
Umesh
[25 Jun 2015 13:17] Paul DuBois
Thank you for your bug report. This issue has been addressed in the documentation. The updated documentation will appear on our website shortly.

Text is changed to:

Audit_null_called counts all events, and the other variables count
instances of event subclasses. For example, the preceding SHOW STATUS
statement causes the server to send a result to the client and to
write a message to the general query log if that log is enabled.
Thus, a client that issues the statement repeatedly causes
Audit_null_called and Audit_null_general_result to be incremented
each time, and Audit_null_general_log to be incremented. (Before
MySQL 5.7.5, notification of events for the general query log are
received only if the general query log is enabled. As of 5.7.5,
notifications are received regardless of whether that log is
enabled.)