mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
valgrind error fix(uninitialiased variable)
removed unnecessary operation sql/sql_lex.cc: valgrind error fix(uninitialiased variable) sql/sql_parse.cc: removed unnecessary operation
This commit is contained in:
parent
8ba10fa95b
commit
c0e325a35c
2 changed files with 1 additions and 2 deletions
|
@ -164,7 +164,7 @@ void lex_start(THD *thd, uchar *buf,uint length)
|
|||
lex->current_select= &lex->select_lex;
|
||||
lex->yacc_yyss=lex->yacc_yyvs=0;
|
||||
lex->ignore_space=test(thd->variables.sql_mode & MODE_IGNORE_SPACE);
|
||||
lex->sql_command=SQLCOM_END;
|
||||
lex->sql_command= lex->orig_sql_command= SQLCOM_END;
|
||||
lex->duplicates= DUP_ERROR;
|
||||
lex->ignore= 0;
|
||||
lex->sphead= NULL;
|
||||
|
|
|
@ -5189,7 +5189,6 @@ mysql_init_select(LEX *lex)
|
|||
{
|
||||
SELECT_LEX *select_lex= lex->current_select;
|
||||
select_lex->init_select();
|
||||
lex->orig_sql_command= SQLCOM_END;
|
||||
lex->wild= 0;
|
||||
if (select_lex == &lex->select_lex)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue