Home
last modified time | relevance | path

Searched refs:grant_as (Results 1 – 9 of 9) sorted by relevance

/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/sql/
H A Dsql_rewrite.cc1258 LEX_GRANT_AS *grant_as = grant_params->grant_as_info; in rewrite() local
1260 (m_consumer_type == Consumer_type::BINLOG && grant_as && in rewrite()
1261 grant_as->grant_as_used)) { in rewrite()
1262 if ((user_name = get_current_user(m_thd, grant_as->user))) { in rewrite()
1266 switch (grant_as->role_type) { in rewrite()
1272 if (grant_as->role_list) { in rewrite()
1274 List_iterator<LEX_USER> role_list(*grant_as->role_list); in rewrite()
1279 List_iterator<LEX_USER> role_list(*grant_as->role_list); in rewrite()
H A Dsql_rewrite.h86 Grant_params(bool grant_as_specified, LEX_GRANT_AS *grant_as) in Grant_params() argument
89 grant_as_info(grant_as) {} in Grant_params()
H A Dsql_yacc.cc42523 { Lex->grant_as.role_type = role_enum::ROLE_NONE; } in yyparse()
42529 { Lex->grant_as.role_type = role_enum::ROLE_NAME; in yyparse()
42530 Lex->grant_as.role_list = (yyvsp[0].user_list); in yyparse()
42538 Lex->grant_as.role_type = role_enum::ROLE_ALL; in yyparse()
42539 Lex->grant_as.role_list = (yyvsp[0].user_list); in yyparse()
42546 { Lex->grant_as.role_type = role_enum::ROLE_NONE; } in yyparse()
42552 { Lex->grant_as.role_type = role_enum::ROLE_DEFAULT; } in yyparse()
42558 { Lex->grant_as.grant_as_used = false; } in yyparse()
42565 Lex->grant_as.grant_as_used = true; in yyparse()
42566 Lex->grant_as.user = (yyvsp[-1].lex_user); in yyparse()
H A Dsql_yacc.yy16236 { Lex->grant_as.role_type = role_enum::ROLE_NONE; }
16238 { Lex->grant_as.role_type = role_enum::ROLE_NAME;
16239 Lex->grant_as.role_list = $3;
16243 Lex->grant_as.role_type = role_enum::ROLE_ALL;
16244 Lex->grant_as.role_list = $4;
16247 { Lex->grant_as.role_type = role_enum::ROLE_NONE; }
16249 { Lex->grant_as.role_type = role_enum::ROLE_DEFAULT; }
16253 { Lex->grant_as.grant_as_used = false; }
16256 Lex->grant_as.grant_as_used = true;
16257 Lex->grant_as.user = $2;
H A Dsql_lex.h3451 LEX_GRANT_AS grant_as; member
H A Dsql_parse.cc3899 if (lex->grant_as.grant_as_used) { in mysql_execute_command()
4015 lex->dynamic_privileges, lex->all_privileges, &lex->grant_as); in mysql_execute_command()
H A Dsql_lex.cc477 grant_as.cleanup(); in reset()
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/sql/auth/
H A Dsql_authorization.cc241 bool grant_all, LEX_GRANT_AS *grant_as, in Grant_validator() argument
250 m_grant_as(grant_as), in Grant_validator()
3339 bool grant_all_current_privileges, LEX_GRANT_AS *grant_as) { in mysql_grant() argument
3391 grant_all_current_privileges, grant_as, dynpriv_table); in mysql_grant()
3562 if (grant_as->grant_as_used) { in mysql_grant()
3563 grant_as_specified = grant_as->grant_as_used; in mysql_grant()
3564 grant_as_ptr = grant_as; in mysql_grant()
H A Dauth_common.h720 bool grant_all_current_privileges, LEX_GRANT_AS *grant_as);