summaryrefslogtreecommitdiff
path: root/plugin/server_audit
Commit message (Collapse)AuthorAgeFilesLines
* fix buffer overrunVladislav Vaintroub2016-02-151-1/+1
|
* Errorneous PSI declaration line fixed.Alexey Botchkov2016-02-121-3/+7
|
* MDEV-9106 Audit plugin not working with MySQL 5.7.Alexey Botchkov2016-01-151-3/+44
| | | | fixing Windows crash.
* MDEV-9106 Audit Plugin doesn't run with MySQL 5.7.Alexey Botchkov2016-01-131-17/+39
| | | | | | MariaDB 5.5 built in debug gets unhappy with mutexes. Although everything is correct, some DBUG_ASSERT can happen. So this patch keeps safe_mutex silent.
* MDEV-9106 Audit plugin compiled with MariaDB can't install on MySQL 5.7.Alexey Botchkov2016-01-124-261/+1254
| | | | | The audit API was seriously changed in MySQL 5.7. so we had to adapt the plugin's code to that.
* MDEV-8078 Memory disclosure/buffer overread on audit plugin.Alexey Botchkov2015-06-071-3/+9
| | | | | | | If the SET PASSWORD query doesn't have the password string, the parsing of it can fail. It manifested first in MySQL 5.6 as it started to hide password lines sent to the plugins. Fixed by checking for that case.
* MDEV-8032 [PATCH] audit plugin - csv output broken.Alexey Botchkov2015-06-061-0/+2
| | | | | Symbols like TAB or NEWLINE should be escaped, which was forgotten in one place.
* MDEV-7596 audit plugin - record full query / document line length / make ↵Alexey Botchkov2015-03-311-28/+102
| | | | | | | buffer configurable. The serve_audit_query_log_limit variable implemented. Also QUERY_DCL filter added.
* MDEV-7641 Server crash on set global server_audit_incl_users=null.Alexey Botchkov2015-03-191-7/+12
| | | | | plugin_variable_update() can get NULL as a value for a string parameter. Needs to be checked and handled properly.
* Audit plugin v1.2.0.Alexey Botchkov2015-02-081-18/+541
|
* MDEV-5120 Test suite test maria-no-logging failsSergei Golubchik2014-10-021-0/+2
| | | | | | | | stat structure (from <sys/stat.h>) is conditionally defined to have different layout and size depending on the defined macros. The correct macro is defined in my_config.h, which means it MUST be included first (or, at least before <features.h> - so, practically, before including any system headers).
* MDEV-6124 Audit plugin fails with the Percona-Server 5.6.Alexey Botchkov2014-04-171-1/+1
| | | | | | Some lines of code in file_logger.c were lost while moving to the general MariaDB tree. Adding them.
* MDEV-5862 server_audit test fails in buildbot on Mac (labrador).Alexey Botchkov2014-03-231-5/+24
| | | | | | | | The RTLD_DEFAULT value on Labrador machine is not NULL, so the dlsym() commands in the server_audit just fail to bind the necessary functions. Fixed by using RTLD_DEFAULT explicitly.
* Fixed some buildbot failuresMichael Widenius2014-03-181-2/+14
| | | | | | | | | mysql-test/suite/rpl/t/rpl_000011-master.opt: Added master.opt file to ensure that other tests don't interfere with rpl_000011 plugin/server_audit/server_audit.c: Fixed compiler error on solaris support-files/compiler_warnings.supp: Ignore warning from xtradb
* MDEV-5681 audit log will not rotate when the file size exceeds global ↵Alexey Botchkov2014-03-171-2/+50
| | | | | | | | | | | variable setting. Notifications about changed variables: server_audit_file_rotate_now server_audit_file_rotations server_audit_file_rotations are now handled and one doesn't need to stop/start logging to make them effective.
* MariaDB Audit plugin added.Alexey Botchkov2014-02-243-0/+2191