![]() |
MySQL 8.0.43
Source Code Documentation
|
#include "sql_restart_server.h"#include <sys/types.h>#include <unistd.h>#include <sstream>#include "my_thread.h"#include "mysql/components/services/log_builtins.h"#include "mysqld.h"#include "mysqld_error.h"#include "sql/auth/auth_acls.h"#include "sql/auth/sql_security_ctx.h"#include "sql/sql_class.h"#include "sql/sql_lex.h"Functions | |
| static bool | check_restart_server_admin_privilege (THD *thd) |
| Check if a current user has the privilege SHUTDOWN_ACL required to run the statement RESTART. More... | |
| bool | is_mysqld_managed () |
| Check if mysqld is managed by an external supervisor. More... | |
Variables | |
| my_thread_handle | signal_thread_id |
|
inlinestatic |
Check if a current user has the privilege SHUTDOWN_ACL required to run the statement RESTART.
| thd | Current thread |
| false | A user has the privilege SHUTDOWN_ACL. |
| true | A user doesn't have the privilege SHUTDOWN_ACL.. |
| bool is_mysqld_managed | ( | ) |
Check if mysqld is managed by an external supervisor.
|
extern |