summaryrefslogtreecommitdiff
path: root/sql/sql_table.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_table.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_table.cc')
-rw-r--r--sql/sql_table.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_table.cc b/sql/sql_table.cc
index e91a9a83e73..8dbb9710cda 100644
--- a/sql/sql_table.cc
+++ b/sql/sql_table.cc
@@ -669,7 +669,7 @@ TABLE *create_table_from_items(THD *thd, HA_CREATE_INFO *create_info,
DBUG_ENTER("create_table_from_items");
/* Add selected items to field list */
- List_iterator<Item> it(*items);
+ List_iterator_fast<Item> it(*items);
Item *item;
Field *tmp_field;
tmp_table.db_create_options=0;