summaryrefslogtreecommitdiff
path: root/sql/item_cmpfunc.h
diff options
context:
space:
mode:
authorunknown <pem@mysql.comhem.se>2004-05-06 19:55:12 +0200
committerunknown <pem@mysql.comhem.se>2004-05-06 19:55:12 +0200
commit526569690e1d0d89d91359df1334b2ffba204a02 (patch)
tree125d3ae1ebe314b07915ef4518ed9cd47dde7444 /sql/item_cmpfunc.h
parentf088cf990735a451a87add42a2ed4c4fda18513a (diff)
downloadmariadb-git-526569690e1d0d89d91359df1334b2ffba204a02.tar.gz
Fixed (portability) bug in handler.h, and tried to silence cast warnings on some platforms.
sql/handler.h: Fixed (portability) bug. No qualified method names in the class definition. sql/item_cmpfunc.h: Attempt to silence cast warnings on some platforms. sql/item_subselect.h: Attempt to silence cast warnings on some platforms. sql/set_var.cc: Silence warning (missing cast). sql/spatial.h: Attempt to silence cast warnings on some platforms. sql/sql_cache.cc: Silence warning (wrong cast). sql/sql_lex.h: Attempt to silence cast warnings on some platforms.
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r--sql/item_cmpfunc.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h
index d654bec4f4e..ef80c060c03 100644
--- a/sql/item_cmpfunc.h
+++ b/sql/item_cmpfunc.h
@@ -96,7 +96,8 @@ protected:
bool save_cache;
public:
Item_in_optimizer(Item *a, Item_in_subselect *b):
- Item_bool_func(a, (Item *)b), cache(0), save_cache(0) {}
+ Item_bool_func(a, my_reinterpret_cast(Item *)(b)), cache(0), save_cache(0)
+ {}
bool fix_fields(THD *, struct st_table_list *, Item **);
bool fix_left(THD *thd, struct st_table_list *tables, Item **ref);
bool is_null();