Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
8b5938a1
Commit
8b5938a1
authored
Sep 21, 2013
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unused LEX::contains_plaintext_password
parent
27c9ed11
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
8 deletions
+0
-8
sql/sql_lex.cc
sql/sql_lex.cc
+0
-1
sql/sql_lex.h
sql/sql_lex.h
+0
-1
sql/sql_yacc.yy
sql/sql_yacc.yy
+0
-6
No files found.
sql/sql_lex.cc
View file @
8b5938a1
...
...
@@ -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
;
...
...
sql/sql_lex.h
View file @
8b5938a1
...
...
@@ -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
;
...
...
sql/sql_yacc.yy
View file @
8b5938a1
...
...
@@ -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;
}
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment