1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-16266 - New command FLUSH SSL to reload server's SSL certificate(private key,CRL,etc)

This commit is contained in:
Vladislav Vaintroub
2018-12-11 18:23:54 +01:00
parent f570da5153
commit 19d3d3e861
13 changed files with 306 additions and 202 deletions

View File

@ -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);