summaryrefslogtreecommitdiff
path: root/sql/sql_parse.cc
diff options
context:
space:
mode:
authorunknown <bell@sanja.is.com.ua>2003-03-05 23:32:59 +0200
committerunknown <bell@sanja.is.com.ua>2003-03-05 23:32:59 +0200
commit33131c9e58a101327e6d867146e79f67a574fa11 (patch)
treeb8e99fe8ae71a1da64306df579ad966b075f9d37 /sql/sql_parse.cc
parent64d48cd6d1d668256bdb639c6467be6112c58164 (diff)
downloadmariadb-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.cc2
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();
}