lp:~sergei.glushchenko/percona-server/5.5-ps-bug1182535

Created by Sergei Glushchenko on 2013-05-22 and last modified on 2013-12-16
Get this branch:
bzr branch lp:~sergei.glushchenko/percona-server/5.5-ps-bug1182535
Only Sergei Glushchenko can upload to this branch. If you are Sergei Glushchenko please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

608. By Sergei Glushchenko on 2013-12-16

Bug 1182535: no MYSQL_AUDIT_GENERAL_LOG notifications with general log off
The reason is that MYSQL_AUDIT_GENERAL_LOG events are emitted in the same
method which does general log writes. Method is not called either if
general_log is turned off or if we don't want to log specific command.

Fixed my moving invocation of mysql_audit_general_log from
LOGGER::general_log_write() to general_log_write(). user_name
and time needed for both general log and audit log are
calculated twice if both enabled. Further optimization would be
to calculate user_name upon user login and/or change by change
user command.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
lp:percona-server/5.6
This branch contains Public information 
Everyone can see this information.