summaryrefslogtreecommitdiff
path: root/sql/item_func.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_func.h')
-rw-r--r--sql/item_func.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/sql/item_func.h b/sql/item_func.h
index 1b3f28c41be..38a40e71544 100644
--- a/sql/item_func.h
+++ b/sql/item_func.h
@@ -1005,31 +1005,6 @@ public:
};
-class Item_longlong_typecast :public Item_int_func
-{
-public:
- Item_longlong_typecast(THD *thd, Item *a): Item_int_func(thd, a)
- {
- }
- const char *func_name() const { return "cast_as_longlong"; }
- const char *cast_type() const { return "longlong"; }
- const Type_handler *type_handler() const { return &type_handler_longlong; }
- longlong val_int()
- {
- return args[0]->val_int();
- }
- void fix_length_and_dec_generic() {}
- void fix_length_and_dec()
- {
- args[0]->type_handler()->Item_longlong_typecast_fix_length_and_dec(this);
- }
- bool need_parentheses_in_default() { return true; }
- Item *get_copy(THD *thd)
- { return get_item_copy<Item_longlong_typecast>(thd, this); }
-};
-
-
-
class Item_func_additive_op :public Item_num_op
{
public: