mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
calloc replaced with alloc in st_select_lex_node 'new' operator (SCRUM?)
sql/sql_lex.cc: initialization of all need field sql/sql_lex.h: calloc replaced with alloc sql/sql_parse.cc: no need full initialization here sql/sql_yacc.yy: removed initialization which will be done in init_qiery method
This commit is contained in:
@@ -3316,7 +3316,7 @@ void mysql_init_multi_delete(LEX *lex)
|
||||
lex->select_lex.select_limit= lex->unit.select_limit_cnt=
|
||||
HA_POS_ERROR;
|
||||
lex->auxilliary_table_list= lex->select_lex.table_list;
|
||||
lex->select_lex.init_query();
|
||||
lex->select_lex.table_list.empty();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user