summaryrefslogtreecommitdiff
path: root/sql/item.cc
diff options
context:
space:
mode:
authorunknown <serg@serg.mylan>2005-10-21 14:56:59 +0200
committerunknown <serg@serg.mylan>2005-10-21 14:56:59 +0200
commit07fa475e26e47cc32e4225d1684e877ed19236b3 (patch)
tree160321c187afb5f6139c643c78bb53774d49cbc5 /sql/item.cc
parentc9978d8bcbf609d5e495df77f7306cdb5abaf7a1 (diff)
downloadmariadb-git-07fa475e26e47cc32e4225d1684e877ed19236b3.tar.gz
compilation failure fixed
Diffstat (limited to 'sql/item.cc')
-rw-r--r--sql/item.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/item.cc b/sql/item.cc
index d284af2b9f1..b2a1e44cfcc 100644
--- a/sql/item.cc
+++ b/sql/item.cc
@@ -1768,7 +1768,7 @@ bool Item_field::fix_fields(THD *thd, TABLE_LIST *tables, Item **ref)
Item** res= find_item_in_list(this, thd->lex->current_select->item_list,
&counter, REPORT_EXCEPT_NOT_FOUND,
&not_used);
- if (res != not_found_item && (*res)->type() == Item::FIELD_ITEM)
+ if (res != (Item **)not_found_item && (*res)->type() == Item::FIELD_ITEM)
{
set_field((*((Item_field**)res))->field);
return 0;