mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-7641 Server crash on set global server_audit_incl_users=null.
plugin_variable_update() can get NULL as a value for a string parameter. Needs to be checked and handled properly.
This commit is contained in:
@ -8,6 +8,8 @@ if (!$SERVER_AUDIT_SO) {
|
||||
install plugin server_audit soname 'server_audit';
|
||||
|
||||
show variables like 'server_audit%';
|
||||
set global server_audit_file_path=null;
|
||||
set global server_audit_incl_users=null;
|
||||
set global server_audit_file_path='server_audit.log';
|
||||
set global server_audit_output_type=file;
|
||||
set global server_audit_logging=on;
|
||||
|
Reference in New Issue
Block a user