diff options
author | monty@tik.mysql.fi <> | 2001-08-02 06:29:50 +0300 |
---|---|---|
committer | monty@tik.mysql.fi <> | 2001-08-02 06:29:50 +0300 |
commit | b13d453d50c47b647c868b9dcb425133eb58c776 (patch) | |
tree | fc9655d17169cd0d2593f7a2e888de91cd33dfe8 /sql/item_func.cc | |
parent | 423f2851c57a253166d4e98cc71dc5177632ca10 (diff) | |
download | mariadb-git-b13d453d50c47b647c868b9dcb425133eb58c776.tar.gz |
Fix UNION
New faster list iterators
Change list code to be simpler and faster
Optimize count(distinct)
New error messages for UNION
Make create_tmp_table more general to be usable by UNION
Diffstat (limited to 'sql/item_func.cc')
-rw-r--r-- | sql/item_func.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_func.cc b/sql/item_func.cc index e540f850063..b76bee78b2e 100644 --- a/sql/item_func.cc +++ b/sql/item_func.cc @@ -43,7 +43,7 @@ Item_func::Item_func(List<Item> &list) if ((args=(Item**) sql_alloc(sizeof(Item*)*arg_count))) { uint i=0; - List_iterator<Item> li(list); + List_iterator_fast<Item> li(list); Item *item; while ((item=li++)) @@ -1983,7 +1983,7 @@ bool Item_func_match::fix_fields(THD *thd,struct st_table_list *tlist) bool Item_func_match::fix_index() { - List_iterator<Item> li(fields); + List_iterator_fast<Item> li(fields); Item_field *item; uint ft_to_key[MAX_KEY], ft_cnt[MAX_KEY], fts=0, key; |