MCPcopy Create free account
hub / github.com/MariaDB/server / has_auth

Function has_auth

sql/sql_acl.cc:7310–7318  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7308******************************************************************/
7309
7310static bool has_auth(LEX_USER *user, LEX *lex)
7311{
7312 return user->has_auth() ||
7313 lex->account_options.ssl_type != SSL_TYPE_NOT_SPECIFIED ||
7314 lex->account_options.ssl_cipher.str ||
7315 lex->account_options.x509_issuer.str ||
7316 lex->account_options.x509_subject.str ||
7317 lex->account_options.specified_limits;
7318}
7319
7320static bool copy_and_check_auth(LEX_USER *to, LEX_USER *from, THD *thd)
7321{

Callers 3

copy_and_check_authFunction · 0.85
mysql_grant_roleFunction · 0.85
get_current_userFunction · 0.85

Calls 1

has_authMethod · 0.80

Tested by

no test coverage detected