summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormonty@mysql.com <>2004-11-10 14:55:55 +0200
committermonty@mysql.com <>2004-11-10 14:55:55 +0200
commit1e424ecbffacd0bf92453aff437400546c3e8e01 (patch)
treee72851fdd5a2e64fb87fc00267351ac36a43290b
parentdee9fa8fc09c1e862f5133bf31ef6489d7e6b259 (diff)
downloadmariadb-git-1e424ecbffacd0bf92453aff437400546c3e8e01.tar.gz
Portability fix (Problems compiling on MacOSX with gcc)
-rw-r--r--sql/item.cc1
-rw-r--r--sql/item_cmpfunc.h3
2 files changed, 1 insertions, 3 deletions
diff --git a/sql/item.cc b/sql/item.cc
index d78c6f5b8ba..9e28793493d 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -3391,5 +3391,6 @@ void Item_result_field::cleanup()
template class List<Item>;
template class List_iterator<Item>;
template class List_iterator_fast<Item>;
+template class List_iterator_fast<Item_field>;
template class List<List_item>;
#endif
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index 754ebe08b77..af2c385b296 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -20,9 +20,6 @@
#ifdef __GNUC__
#pragma interface /* gcc class implementation */
#endif
-#ifdef __GNUC__
-template class List_iterator_fast<Item_field>;
-#endif
extern Item_result item_cmp_type(Item_result a,Item_result b);
class Item_bool_func2;