summaryrefslogtreecommitdiff
path: root/sql/sql_handler.cc
diff options
context:
space:
mode:
authormonty@tik.mysql.fi <>2001-08-02 06:29:50 +0300
committermonty@tik.mysql.fi <>2001-08-02 06:29:50 +0300
commitb13d453d50c47b647c868b9dcb425133eb58c776 (patch)
treefc9655d17169cd0d2593f7a2e888de91cd33dfe8 /sql/sql_handler.cc
parent423f2851c57a253166d4e98cc71dc5177632ca10 (diff)
downloadmariadb-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/sql_handler.cc')
-rw-r--r--sql/sql_handler.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_handler.cc b/sql/sql_handler.cc
index a605984aef7..98cc523dc9b 100644
--- a/sql/sql_handler.cc
+++ b/sql/sql_handler.cc
@@ -152,7 +152,7 @@ int mysql_ha_read(THD *thd, TABLE_LIST *tables,
MYF(0),keyinfo->key_parts);
goto err;
}
- List_iterator<Item> it_ke(*key_expr);
+ List_iterator_fast<Item> it_ke(*key_expr);
Item *item;
for (key_len=0 ; (item=it_ke++) ; key_part++)
{