5.7.34 broke compatabiliity with mariadb audit plugin
So mariadb's server_audit.so plugin works on MySQL Version 5.7.9 - 5.7.33.
It is now broken on 5.7.34.
Possibly related to either of these Changes:
* Sessions could disable their own auditing. (Bug #31630954)
* Uninstalling a plugin could affect subsequent execution of prepared statements. (Bug #29363867)
I tried opening a bug with mysql, and it was closed as it says they don't support mariadb plugins.
Is it possible to get more information on the above 2x commits (e.g. actual patch diffs?) so I can investigate the issue myself?
Specifically strange to me that "auditing" is even a change that made it into mysql-community given its totally lack of audit logging plugin.
I want to give the devs the benefit of the doubt here, but breaking one of the main compliance plugins that mysql-enterprise just happens to keep behind a paywall seems suspicious.
If 3rd party plugins need to make changes after 5.7.34, that's fine, just need some help finding what changes are needed....
Again, just asking for the commit diffs of the two above changes, as I can't seem to find them myself based on those bug ids anywhere.
If you are interested in details on the mariadb server_audit.so crash, here they are:
mysqld starts up fine with mariadb server_audit.so loaded.
But all connection attempts (even ones with invalid users/pass) result in:
ERROR 2013 (HY000): Lost connection to MySQL server at 'reading authorization packet', system error: 95
And on the server side, a signal 11:
15:38:38 UTC - mysqld got signal 11 ;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
Attempting to collect some information that could help diagnose the problem.
As this is a crash and something is definitely wrong, the information
collection process might fail.
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_threads = 51365 K bytes of memory
Hope that's ok; if not, decrease some variables in the equation.
Thread pointer: 0x7f21a0000d40
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
stack_bottom = 7f223014be50 thread_stack 0x40000
Thanks for reading!