mirror of
https://github.com/MariaDB/server.git
synced 2026-05-05 14:45:31 +02:00
MDEV-16266 - New command FLUSH SSL to reload server's SSL certificate(private key,CRL,etc)
This commit is contained in:
parent
f570da5153
commit
19d3d3e861
13 changed files with 306 additions and 202 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue