mirror of
https://github.com/MariaDB/server.git
synced 2025-09-02 09:41:40 +03:00
MDEV-8491 - On shutdown, report the user and the host executed that.
This commit is contained in:
@@ -1804,7 +1804,7 @@ bool dispatch_command(enum enum_server_command command, THD *thd,
|
||||
DBUG_PRINT("quit",("Got shutdown command for level %u", level));
|
||||
general_log_print(thd, command, NullS);
|
||||
my_eof(thd);
|
||||
kill_mysql();
|
||||
kill_mysql(thd);
|
||||
error=TRUE;
|
||||
break;
|
||||
}
|
||||
@@ -4907,7 +4907,7 @@ end_with_restore_list:
|
||||
#ifndef EMBEDDED_LIBRARY
|
||||
if (check_global_access(thd,SHUTDOWN_ACL))
|
||||
goto error;
|
||||
kill_mysql();
|
||||
kill_mysql(thd);
|
||||
my_ok(thd);
|
||||
#else
|
||||
my_error(ER_NOT_SUPPORTED_YET, MYF(0), "embedded server");
|
||||
|
Reference in New Issue
Block a user