summaryrefslogtreecommitdiff
path: root/plugin/server_audit/server_audit.c
Commit message (Collapse)AuthorAgeFilesLines
...
* | Changed my_thread_id to int64 to fix compilation problem withMonty2016-02-081-0/+4
| | | | | | | | | | | | my_atomic_add32_explicit on windows Fixed that server_audit.c also works if one compiles with safemalloc Fixed compiler warnings
* | Merge branch '10.1' into 10.2Monty2016-02-061-272/+588
|\ \ | |/ | | | | | | | | | | | | | | | | Conflicts: VERSION cmake/plugin.cmake config.h.cmake configure.cmake plugin/server_audit/server_audit.c sql/sql_yacc.yy
| * 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-121-260/+527
| | | | | | | | | | The audit API was seriously changed in MySQL 5.7. so we had to adapt the plugin's code to that.
* | MDEV-8111 - remove "fast mutexes"Sergey Vojtovich2015-11-261-2/+0
| | | | | | | | | | They aren't faster than normal mutexes. They're disabled by default for years, so de facto it's dead code, never used.
* | Merge branch '5.5' into 10.0Sergei Golubchik2015-06-111-3/+11
|\ \ | |/
| * 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.
* | Merge branch '5.5' into 10.0Sergei Golubchik2015-05-041-36/+115
|\ \ | |/
| * 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.
* | Merge branch '5.5' into 10.0Sergei Golubchik2015-02-181-17/+540
|\ \ | |/
| * Audit plugin v1.2.0.Alexey Botchkov2015-02-081-18/+541
| |
* | 5.5.40+ mergeSergei Golubchik2014-10-091-0/+2
|\ \ | |/
| * 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).
* | promote server_audit and sequence plugins to stableSergei Golubchik2014-06-131-1/+1
| |
* | 5.5 mergeSergei Golubchik2014-05-091-1/+1
|\ \ | |/
| * 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.
* | null-merge from perfschema-5.6 merge treeSergei Golubchik2014-05-071-0/+10
| | | | | | | | (only new files and small style changes are accepted)
* | 5.5 mergeSergei Golubchik2014-03-261-9/+88
|\ \ | |/
| * 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.
* | Merge with 10.0-baseMichael Widenius2014-03-131-8/+8
| | | | | | | | | | Automatic merge, except for server_audit.cc that had to be modified slightly Changes to xtradb and innobase where ignored was these made no sence for 10.0
* | Merge with 5.5Michael Widenius2014-03-111-3/+3
|/
* MariaDB Audit plugin added.Alexey Botchkov2014-02-241-0/+1836