Home
last modified time | relevance | path

Searched refs:lex_user (Results 1 – 25 of 101) sorted by relevance

12345

/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/sql/auth/
H A Dacl_change_notification.h37 User(const LEX_USER &lex_user) in User()
38 : name(lex_user.user.str, lex_user.user.length), in User()
39 host(lex_user.host.str, lex_user.host.length) {} in User()
H A Dsql_authorization.cc3100 LEX_USER *lex_user; in mysql_revoke_role() local
3141 lex_user = get_current_user(thd, lex_user); in mysql_revoke_role()
3147 if ((acl_user = find_acl_user(lex_user->host.str, lex_user->user.str, in mysql_revoke_role()
3237 LEX_USER *lex_user; in mysql_grant_role() local
3265 lex_user = get_current_user(thd, lex_user); in mysql_grant_role()
3275 if ((acl_user = find_acl_user(lex_user->host.str, lex_user->user.str, in mysql_grant_role()
4679 acl_user = find_acl_user(lex_user->host.str, lex_user->user.str, true); in mysql_show_grants()
4726 strxmov(buff, "Grants for ", lex_user->user.str, "@", lex_user->host.str, in mysql_show_grants()
5052 find_acl_user(lex_user->host.str, lex_user->user.str, true); in mysql_revoke_all()
5060 lex_user->user, lex_user->host, update_table))) { in mysql_revoke_all()
[all …]
H A Dauth_common.cc113 Auth_id::Auth_id(const LEX_USER *lex_user) in Auth_id() argument
114 : Auth_id(lex_user->user, lex_user->host) {} in Auth_id()
H A Dsql_user.cc1459 bool change_password(THD *thd, LEX_USER *lex_user, const char *new_password, in change_password() argument
1477 DBUG_ASSERT(lex_user && lex_user->host.str); in change_password()
1480 lex_user->host.str, lex_user->user.str, current_password, in change_password()
1483 if (check_change_password(thd, lex_user->host.str, lex_user->user.str, in change_password()
1509 find_acl_user(lex_user->host.str, lex_user->user.str, true); in change_password()
1521 combo->user.str = lex_user->user.str; in change_password()
1522 combo->host.str = lex_user->host.str; in change_password()
1523 combo->user.length = lex_user->user.length; in change_password()
1524 combo->host.length = lex_user->host.length; in change_password()
1608 thd->is_error() || result, lex_user->user.str, lex_user->host.str, in change_password()
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/sql/auth/
H A Dsql_authorization.cc2862 String user_str(lex_user->user.str, lex_user->user.length, in show_routine_grants()
2969 acl_user= find_acl_user(lex_user->host.str, lex_user->user.str, TRUE); in mysql_show_grants()
2977 lex_user->user.str, lex_user->host.str); in mysql_show_grants()
2985 lex_user->host.str,NullS); in mysql_show_grants()
3023 String user_str(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
3027 String host_str(lex_user->host.str, lex_user->host.length, in mysql_show_grants()
3058 acl_db->host.compare_hostname(lex_user->host.str, lex_user->host.str)) in mysql_show_grants()
3089 String user_str(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
3205 String user_str(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
3312 if (!find_acl_user(lex_user->host.str, lex_user->user.str, TRUE)) in mysql_revoke_all()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/sql/auth/
H A Dsql_authorization.cc2862 String user_str(lex_user->user.str, lex_user->user.length, in show_routine_grants()
2969 acl_user= find_acl_user(lex_user->host.str, lex_user->user.str, TRUE); in mysql_show_grants()
2977 lex_user->user.str, lex_user->host.str); in mysql_show_grants()
2985 lex_user->host.str,NullS); in mysql_show_grants()
3023 String user_str(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
3027 String host_str(lex_user->host.str, lex_user->host.length, in mysql_show_grants()
3058 acl_db->host.compare_hostname(lex_user->host.str, lex_user->host.str)) in mysql_show_grants()
3089 String user_str(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
3205 String user_str(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
3312 if (!find_acl_user(lex_user->host.str, lex_user->user.str, TRUE)) in mysql_revoke_all()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/sql/auth/
H A Dsql_authorization.cc2862 String user_str(lex_user->user.str, lex_user->user.length, in show_routine_grants()
2969 acl_user= find_acl_user(lex_user->host.str, lex_user->user.str, TRUE); in mysql_show_grants()
2977 lex_user->user.str, lex_user->host.str); in mysql_show_grants()
2985 lex_user->host.str,NullS); in mysql_show_grants()
3023 String user_str(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
3027 String host_str(lex_user->host.str, lex_user->host.length, in mysql_show_grants()
3058 acl_db->host.compare_hostname(lex_user->host.str, lex_user->host.str)) in mysql_show_grants()
3089 String user_str(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
3205 String user_str(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
3312 if (!find_acl_user(lex_user->host.str, lex_user->user.str, TRUE)) in mysql_revoke_all()
[all …]
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/sql/auth/
H A Dsql_authorization.cc2842 global.append(lex_user->user.str, lex_user->user.length, in show_routine_grants()
2948 acl_user= find_acl_user(lex_user->host.str, lex_user->user.str, TRUE); in mysql_show_grants()
2955 lex_user->user.str, lex_user->host.str); in mysql_show_grants()
2963 lex_user->host.str,NullS); in mysql_show_grants()
3001 global.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
3004 global.append(lex_user->host.str,lex_user->host.length, in mysql_show_grants()
3067 db.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
3182 global.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
3274 LEX_USER *lex_user, *tmp_lex_user; in mysql_revoke_all() local
3288 if (!find_acl_user(lex_user->host.str, lex_user->user.str, TRUE)) in mysql_revoke_all()
[all …]
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/sql/auth/
H A Dsql_authorization.cc2841 global.append(lex_user->user.str, lex_user->user.length, in show_routine_grants()
2947 acl_user= find_acl_user(lex_user->host.str, lex_user->user.str, TRUE); in mysql_show_grants()
2954 lex_user->user.str, lex_user->host.str); in mysql_show_grants()
2962 lex_user->host.str,NullS); in mysql_show_grants()
3000 global.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
3003 global.append(lex_user->host.str,lex_user->host.length, in mysql_show_grants()
3065 db.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
3179 global.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
3271 LEX_USER *lex_user, *tmp_lex_user; in mysql_revoke_all() local
3285 if (!find_acl_user(lex_user->host.str, lex_user->user.str, TRUE)) in mysql_revoke_all()
[all …]
/dports/databases/mysql57-client/mysql-5.7.36/sql/auth/
H A Dsql_authorization.cc2841 String user_str(lex_user->user.str, lex_user->user.length, in show_routine_grants()
2948 acl_user= find_acl_user(lex_user->host.str, lex_user->user.str, TRUE); in mysql_show_grants()
2955 lex_user->user.str, lex_user->host.str); in mysql_show_grants()
2963 lex_user->host.str,NullS); in mysql_show_grants()
3001 String user_str(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
3005 String host_str(lex_user->host.str, lex_user->host.length, in mysql_show_grants()
3067 String user_str(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
3182 String user_str(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
3275 LEX_USER *lex_user, *tmp_lex_user; in mysql_revoke_all() local
3289 if (!find_acl_user(lex_user->host.str, lex_user->user.str, TRUE)) in mysql_revoke_all()
[all …]
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/sql/
H A Dsql_yacc.cc40516 (yyval.lex_user)=(yyvsp[0].lex_user); in yyparse()
42127 (yyval.lex_user)=(yyvsp[-3].lex_user); in yyparse()
42142 (yyval.lex_user)= (yyvsp[-4].lex_user); in yyparse()
42157 (yyval.lex_user)= (yyvsp[-3].lex_user); in yyparse()
42172 (yyval.lex_user)= (yyvsp[-5].lex_user); in yyparse()
42189 (yyval.lex_user)= (yyvsp[-5].lex_user); in yyparse()
42207 (yyval.lex_user)= (yyvsp[-6].lex_user); in yyparse()
42223 (yyval.lex_user)= (yyvsp[0].lex_user); in yyparse()
42235 (yyval.lex_user)=(yyvsp[-6].lex_user); in yyparse()
42253 (yyval.lex_user)= (yyvsp[-8].lex_user); in yyparse()
[all …]
/dports/databases/mysql55-client/mysql-5.5.62/sql/
H A Dsql_acl.cc5776 acl_user= find_acl_user(lex_user->host.str, lex_user->user.str, TRUE); in mysql_show_grants()
5783 lex_user->user.str, lex_user->host.str); in mysql_show_grants()
5792 lex_user->host.str,NullS); in mysql_show_grants()
5830 global.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
5833 global.append(lex_user->host.str,lex_user->host.length, in mysql_show_grants()
5966 db.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
6081 global.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
6193 global.append(lex_user->user.str, lex_user->user.length, in show_routine_grants()
7371 LEX_USER *lex_user, *tmp_lex_user; in mysql_revoke_all() local
7380 if (!find_acl_user(lex_user->host.str, lex_user->user.str, TRUE)) in mysql_revoke_all()
[all …]
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/sql/
H A Dsql_yacc.cc26907 (yyval.lex_user)= curr_user; in yyparse()
28351 …if (Lex->users_list.push_back((yyvsp[-2].lex_user)) || Lex->users_list.push_back((yyvsp[0].lex_use… in yyparse()
28360 …if (Lex->users_list.push_back((yyvsp[-2].lex_user)) || Lex->users_list.push_back((yyvsp[0].lex_use… in yyparse()
34710 (yyval.lex_user)->host.str= "%"; in yyparse()
34711 (yyval.lex_user)->host.length= 1; in yyparse()
38287 (yyval.lex_user)=(yyvsp[-3].lex_user); in yyparse()
38299 (yyval.lex_user)= (yyvsp[-4].lex_user); in yyparse()
38318 (yyval.lex_user)= (yyvsp[-3].lex_user); in yyparse()
38330 (yyval.lex_user)= (yyvsp[-5].lex_user); in yyparse()
38344 (yyval.lex_user)= (yyvsp[-5].lex_user); in yyparse()
[all …]
/dports/databases/percona56-client/percona-server-5.6.51-91.0/sql/
H A Dsql_acl.cc7163 acl_user= find_acl_user(lex_user->host.str, lex_user->user.str, TRUE); in mysql_show_grants()
7171 lex_user->user.str, lex_user->host.str); in mysql_show_grants()
7179 lex_user->host.str,NullS); in mysql_show_grants()
7218 global.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
7221 global.append(lex_user->host.str,lex_user->host.length, in mysql_show_grants()
7337 acl_db->host.compare_hostname(lex_user->host.str, lex_user->host.str)) in mysql_show_grants()
7368 db.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
7484 global.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
7597 global.append(lex_user->user.str, lex_user->user.length, in show_routine_grants()
9061 if (!find_acl_user(lex_user->host.str, lex_user->user.str, TRUE)) in mysql_revoke_all()
[all …]
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/sql/
H A Dsql_acl.cc7163 acl_user= find_acl_user(lex_user->host.str, lex_user->user.str, TRUE); in mysql_show_grants()
7171 lex_user->user.str, lex_user->host.str); in mysql_show_grants()
7179 lex_user->host.str,NullS); in mysql_show_grants()
7218 global.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
7221 global.append(lex_user->host.str,lex_user->host.length, in mysql_show_grants()
7337 acl_db->host.compare_hostname(lex_user->host.str, lex_user->host.str)) in mysql_show_grants()
7368 db.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
7484 global.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
7597 global.append(lex_user->user.str, lex_user->user.length, in show_routine_grants()
9061 if (!find_acl_user(lex_user->host.str, lex_user->user.str, TRUE)) in mysql_revoke_all()
[all …]
/dports/databases/percona56-server/percona-server-5.6.51-91.0/sql/
H A Dsql_acl.cc7163 acl_user= find_acl_user(lex_user->host.str, lex_user->user.str, TRUE); in mysql_show_grants()
7171 lex_user->user.str, lex_user->host.str); in mysql_show_grants()
7179 lex_user->host.str,NullS); in mysql_show_grants()
7218 global.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
7221 global.append(lex_user->host.str,lex_user->host.length, in mysql_show_grants()
7337 acl_db->host.compare_hostname(lex_user->host.str, lex_user->host.str)) in mysql_show_grants()
7368 db.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
7484 global.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
7597 global.append(lex_user->user.str, lex_user->user.length, in show_routine_grants()
9061 if (!find_acl_user(lex_user->host.str, lex_user->user.str, TRUE)) in mysql_revoke_all()
[all …]
/dports/databases/percona57-server/percona-server-5.7.36-39/sql/
H A Dsql_yacc.cc27457 (yyval.lex_user)= curr_user; in yyparse()
28913 …if (Lex->users_list.push_back((yyvsp[-2].lex_user)) || Lex->users_list.push_back((yyvsp[0].lex_use… in yyparse()
28922 …if (Lex->users_list.push_back((yyvsp[-2].lex_user)) || Lex->users_list.push_back((yyvsp[0].lex_use… in yyparse()
35390 (yyval.lex_user)->host.str= "%"; in yyparse()
35391 (yyval.lex_user)->host.length= 1; in yyparse()
39145 (yyval.lex_user)=(yyvsp[-3].lex_user); in yyparse()
39157 (yyval.lex_user)= (yyvsp[-4].lex_user); in yyparse()
39176 (yyval.lex_user)= (yyvsp[-3].lex_user); in yyparse()
39188 (yyval.lex_user)= (yyvsp[-5].lex_user); in yyparse()
39202 (yyval.lex_user)= (yyvsp[-5].lex_user); in yyparse()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/sql/
H A Dsql_yacc.cc27457 (yyval.lex_user)= curr_user; in yyparse()
28913 …if (Lex->users_list.push_back((yyvsp[-2].lex_user)) || Lex->users_list.push_back((yyvsp[0].lex_use… in yyparse()
28922 …if (Lex->users_list.push_back((yyvsp[-2].lex_user)) || Lex->users_list.push_back((yyvsp[0].lex_use… in yyparse()
35390 (yyval.lex_user)->host.str= "%"; in yyparse()
35391 (yyval.lex_user)->host.length= 1; in yyparse()
39145 (yyval.lex_user)=(yyvsp[-3].lex_user); in yyparse()
39157 (yyval.lex_user)= (yyvsp[-4].lex_user); in yyparse()
39176 (yyval.lex_user)= (yyvsp[-3].lex_user); in yyparse()
39188 (yyval.lex_user)= (yyvsp[-5].lex_user); in yyparse()
39202 (yyval.lex_user)= (yyvsp[-5].lex_user); in yyparse()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/sql/
H A Dsql_yacc.cc27457 (yyval.lex_user)= curr_user; in yyparse()
28913 …if (Lex->users_list.push_back((yyvsp[-2].lex_user)) || Lex->users_list.push_back((yyvsp[0].lex_use… in yyparse()
28922 …if (Lex->users_list.push_back((yyvsp[-2].lex_user)) || Lex->users_list.push_back((yyvsp[0].lex_use… in yyparse()
35390 (yyval.lex_user)->host.str= "%"; in yyparse()
35391 (yyval.lex_user)->host.length= 1; in yyparse()
39145 (yyval.lex_user)=(yyvsp[-3].lex_user); in yyparse()
39157 (yyval.lex_user)= (yyvsp[-4].lex_user); in yyparse()
39176 (yyval.lex_user)= (yyvsp[-3].lex_user); in yyparse()
39188 (yyval.lex_user)= (yyvsp[-5].lex_user); in yyparse()
39202 (yyval.lex_user)= (yyvsp[-5].lex_user); in yyparse()
[all …]
/dports/databases/mysql57-client/mysql-5.7.36/sql/
H A Dsql_yacc.cc26947 (yyval.lex_user)= curr_user; in yyparse()
28391 …if (Lex->users_list.push_back((yyvsp[-2].lex_user)) || Lex->users_list.push_back((yyvsp[0].lex_use… in yyparse()
28400 …if (Lex->users_list.push_back((yyvsp[-2].lex_user)) || Lex->users_list.push_back((yyvsp[0].lex_use… in yyparse()
34750 (yyval.lex_user)->host.str= "%"; in yyparse()
34751 (yyval.lex_user)->host.length= 1; in yyparse()
38327 (yyval.lex_user)=(yyvsp[-3].lex_user); in yyparse()
38339 (yyval.lex_user)= (yyvsp[-4].lex_user); in yyparse()
38358 (yyval.lex_user)= (yyvsp[-3].lex_user); in yyparse()
38370 (yyval.lex_user)= (yyvsp[-5].lex_user); in yyparse()
38384 (yyval.lex_user)= (yyvsp[-5].lex_user); in yyparse()
[all …]
/dports/databases/mysqlwsrep56-server/mysql-wsrep-wsrep_5.6.51-25.33/sql/
H A Dsql_acl.cc6904 acl_user= find_acl_user(lex_user->host.str, lex_user->user.str, TRUE); in mysql_show_grants()
6911 lex_user->user.str, lex_user->host.str); in mysql_show_grants()
6919 lex_user->host.str,NullS); in mysql_show_grants()
6958 global.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
6961 global.append(lex_user->host.str,lex_user->host.length, in mysql_show_grants()
7108 db.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
7223 global.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
7335 global.append(lex_user->user.str, lex_user->user.length, in show_routine_grants()
8771 LEX_USER *lex_user, *tmp_lex_user; in mysql_revoke_all() local
8783 if (!find_acl_user(lex_user->host.str, lex_user->user.str, TRUE)) in mysql_revoke_all()
[all …]
/dports/databases/mysql56-client/mysql-5.6.51/sql/
H A Dsql_acl.cc6868 acl_user= find_acl_user(lex_user->host.str, lex_user->user.str, TRUE); in mysql_show_grants()
6875 lex_user->user.str, lex_user->host.str); in mysql_show_grants()
6883 lex_user->host.str,NullS); in mysql_show_grants()
6922 global.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
6925 global.append(lex_user->host.str,lex_user->host.length, in mysql_show_grants()
7072 db.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
7187 global.append(lex_user->user.str, lex_user->user.length, in mysql_show_grants()
7299 global.append(lex_user->user.str, lex_user->user.length, in show_routine_grants()
8735 LEX_USER *lex_user, *tmp_lex_user; in mysql_revoke_all() local
8747 if (!find_acl_user(lex_user->host.str, lex_user->user.str, TRUE)) in mysql_revoke_all()
[all …]
/dports/databases/mariadb103-server/mariadb-10.3.34/sql/
H A Dsql_acl.cc8667 if (!(lex_user= get_current_user(thd, lex_user))) in get_show_user()
8670 if (lex_user->is_role()) in get_show_user()
10608 if (!lex_user || in mysql_alter_user()
10734 !find_user_exact(lex_user->host.str, lex_user->user.str)) in mysql_revoke_all()
10842 if (lex_user->is_role()) in mysql_revoke_all()
10849 user_or_role= find_user_exact(lex_user->host.str, lex_user->user.str); in mysql_revoke_all()
10865 &lex_user->user, &lex_user->host, in mysql_revoke_all()
10870 update_role_mapping(&lex_user->user, &lex_user->host, in mysql_revoke_all()
10891 if (lex_user->is_role()) in mysql_revoke_all()
11022 LEX_USER lex_user; in sp_revoke_privileges() local
[all …]
H A Dsql_yacc.cc1662 LEX_USER *lex_user; member
45048 (yyval.lex_user)->user = (yyvsp[-2].lex_str); (yyval.lex_user)->host=(yyvsp[0].lex_str); in yyparse()
45092 … if ((yyvsp[0].lex_user)->user.str != current_user.str && (yyvsp[0].lex_user)->host.str == 0) in yyparse()
45094 (yyval.lex_user)= (yyvsp[0].lex_user); in yyparse()
46065 { Lex->with_admin_option= true; (yyval.lex_user)= (yyvsp[0].lex_user); } in yyparse()
46071 { Lex->with_admin_option= false; (yyval.lex_user)= (yyvsp[0].lex_user); } in yyparse()
46611 (yyval.lex_user)= (yyvsp[-3].lex_user); in yyparse()
46622 (yyval.lex_user)= (yyvsp[-4].lex_user); in yyparse()
46631 (yyval.lex_user)= (yyvsp[-3].lex_user); in yyparse()
46641 (yyval.lex_user)= (yyvsp[-5].lex_user); in yyparse()
[all …]
/dports/databases/mariadb103-client/mariadb-10.3.34/sql/
H A Dsql_acl.cc8667 if (!(lex_user= get_current_user(thd, lex_user))) in get_show_user()
8670 if (lex_user->is_role()) in get_show_user()
10608 if (!lex_user || in mysql_alter_user()
10734 !find_user_exact(lex_user->host.str, lex_user->user.str)) in mysql_revoke_all()
10842 if (lex_user->is_role()) in mysql_revoke_all()
10849 user_or_role= find_user_exact(lex_user->host.str, lex_user->user.str); in mysql_revoke_all()
10865 &lex_user->user, &lex_user->host, in mysql_revoke_all()
10870 update_role_mapping(&lex_user->user, &lex_user->host, in mysql_revoke_all()
10891 if (lex_user->is_role()) in mysql_revoke_all()
11022 LEX_USER lex_user; in sp_revoke_privileges() local
[all …]

12345