diff options
author | unknown <bell@sanja.is.com.ua> | 2003-03-05 23:32:59 +0200 |
---|---|---|
committer | unknown <bell@sanja.is.com.ua> | 2003-03-05 23:32:59 +0200 |
commit | 33131c9e58a101327e6d867146e79f67a574fa11 (patch) | |
tree | b8e99fe8ae71a1da64306df579ad966b075f9d37 /sql/sql_parse.cc | |
parent | 64d48cd6d1d668256bdb639c6467be6112c58164 (diff) | |
download | mariadb-git-33131c9e58a101327e6d867146e79f67a574fa11.tar.gz |
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
Diffstat (limited to 'sql/sql_parse.cc')
-rw-r--r-- | sql/sql_parse.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_parse.cc b/sql/sql_parse.cc index b336f41aa7e..055d144be05 100644 --- a/sql/sql_parse.cc +++ b/sql/sql_parse.cc @@ -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(); } |