mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03: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:
@ -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;
|
||||
|
Reference in New Issue
Block a user