diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2018-12-11 18:23:54 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2018-12-12 22:51:20 +0100 |
commit | 19d3d3e8616ebb65feaac942b19652c5b31b2e93 (patch) | |
tree | a3b8779cf924aeb3fc1aa8168f700fc79759a4e5 /sql/sql_reload.cc | |
parent | f570da5153aca0db2f83765f638cf0d85260c8e2 (diff) | |
download | mariadb-git-19d3d3e8616ebb65feaac942b19652c5b31b2e93.tar.gz |
MDEV-16266 - New command FLUSH SSL to reload server's SSL certificate(private key,CRL,etc)
Diffstat (limited to 'sql/sql_reload.cc')
-rw-r--r-- | sql/sql_reload.cc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/sql_reload.cc b/sql/sql_reload.cc index 48c5e9552e5..7a5cabc8880 100644 --- a/sql/sql_reload.cc +++ b/sql/sql_reload.cc @@ -416,6 +416,11 @@ bool reload_acl_and_cache(THD *thd, unsigned long long options, #endif if (options & REFRESH_USER_RESOURCES) reset_mqh((LEX_USER *) NULL, 0); /* purecov: inspected */ + if (options & REFRESH_SSL) + { + if (reinit_ssl()) + result= 1; + } if (options & REFRESH_GENERIC) { List_iterator_fast<LEX_CSTRING> li(thd->lex->view_list); |