MCPcopy Create free account
hub / github.com/Tencent/phxsql / show_ssl_get_default_timeout

Function show_ssl_get_default_timeout

phx_percona/percona/sql/mysqld.cc:8178–8187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8176}
8177
8178static int show_ssl_get_default_timeout(THD *thd, SHOW_VAR *var, char *buff)
8179{
8180 var->type= SHOW_LONG;
8181 var->value= buff;
8182 if( thd->vio_ok() && thd->net.vio->ssl_arg )
8183 *((long *)buff)= (long)SSL_get_default_timeout((SSL*)thd->net.vio->ssl_arg);
8184 else
8185 *((long *)buff)= 0;
8186 return 0;
8187}
8188
8189static int show_ssl_get_verify_mode(THD *thd, SHOW_VAR *var, char *buff)
8190{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected