mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
remove unused LEX::contains_plaintext_password
This commit is contained in:
parent
27c9ed11ff
commit
8b5938a127
3 changed files with 0 additions and 8 deletions
|
@ -510,7 +510,6 @@ void lex_start(THD *thd)
|
|||
lex->parse_vcol_expr= FALSE;
|
||||
lex->check_exists= FALSE;
|
||||
lex->verbose= 0;
|
||||
lex->contains_plaintext_password= false;
|
||||
|
||||
lex->name.str= 0;
|
||||
lex->name.length= 0;
|
||||
|
|
|
@ -2404,7 +2404,6 @@ struct LEX: public Query_tables_list
|
|||
bool sp_lex_in_use; /* Keep track on lex usage in SPs for error handling */
|
||||
bool all_privileges;
|
||||
bool proxy_priv;
|
||||
bool contains_plaintext_password;
|
||||
|
||||
sp_pcontext *spcont;
|
||||
|
||||
|
|
|
@ -2141,7 +2141,6 @@ master_def:
|
|||
| MASTER_PASSWORD_SYM EQ TEXT_STRING_sys
|
||||
{
|
||||
Lex->mi.password = $3.str;
|
||||
Lex->contains_plaintext_password= true;
|
||||
}
|
||||
| MASTER_PORT_SYM EQ ulong_num
|
||||
{
|
||||
|
@ -2479,7 +2478,6 @@ server_option:
|
|||
| PASSWORD TEXT_STRING_sys
|
||||
{
|
||||
Lex->server_options.password= $2.str;
|
||||
Lex->contains_plaintext_password= true;
|
||||
}
|
||||
| SOCKET_SYM TEXT_STRING_sys
|
||||
{
|
||||
|
@ -9645,14 +9643,12 @@ function_call_conflict:
|
|||
| OLD_PASSWORD '(' expr ')'
|
||||
{
|
||||
$$= new (thd->mem_root) Item_func_old_password($3);
|
||||
Lex->contains_plaintext_password= true;
|
||||
if ($$ == NULL)
|
||||
MYSQL_YYABORT;
|
||||
}
|
||||
| PASSWORD '(' expr ')'
|
||||
{
|
||||
Item* i1;
|
||||
Lex->contains_plaintext_password= true;
|
||||
if (thd->variables.old_passwords == 1)
|
||||
i1= new (thd->mem_root) Item_func_old_password($3);
|
||||
else
|
||||
|
@ -14649,7 +14645,6 @@ text_or_password:
|
|||
}
|
||||
if ($$ == NULL)
|
||||
MYSQL_YYABORT;
|
||||
Lex->contains_plaintext_password= true;
|
||||
}
|
||||
| OLD_PASSWORD '(' TEXT_STRING ')'
|
||||
{
|
||||
|
@ -14658,7 +14653,6 @@ text_or_password:
|
|||
$3.str;
|
||||
if ($$ == NULL)
|
||||
MYSQL_YYABORT;
|
||||
Lex->contains_plaintext_password= true;
|
||||
}
|
||||
;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue