mirror of
https://github.com/MariaDB/server.git
synced 2025-11-27 05:41:41 +03:00
MDEV-33393 audit plugin do not report user did the action..
The '<replication_slave>' user is assigned to the slave replication thread so this name appears in the auditing logs.
This commit is contained in:
@@ -4504,7 +4504,7 @@ void Security_context::destroy()
|
||||
my_free((char*) host);
|
||||
host= NULL;
|
||||
}
|
||||
if (user != delayed_user)
|
||||
if (is_user_defined())
|
||||
{
|
||||
my_free((char*) user);
|
||||
user= NULL;
|
||||
|
||||
Reference in New Issue
Block a user