1
0
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:
unknown
2003-03-05 23:32:59 +02:00
parent 64d48cd6d1
commit 33131c9e58
4 changed files with 15 additions and 12 deletions

View File

@@ -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();
}