summaryrefslogtreecommitdiff
path: root/sql/item_timefunc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sql/item_timefunc.h')
-rw-r--r--sql/item_timefunc.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/sql/item_timefunc.h b/sql/item_timefunc.h
index 08fbfe25093..6b0d1850d8c 100644
--- a/sql/item_timefunc.h
+++ b/sql/item_timefunc.h
@@ -175,7 +175,7 @@ public:
const char *func_name() const { return "weekday"; }
enum Item_result result_type () const { return INT_RESULT; }
void fix_length_and_dec() { decimals=0; max_length=1; maybe_null=1; }
- virtual unsigned int size_of () { return sizeof(*this);}
+ unsigned int size_of() { return sizeof(*this);}
};
class Item_func_dayname :public Item_func_weekday
@@ -201,7 +201,7 @@ public:
{
decimals=0; max_length=10;
}
- virtual unsigned int size_of () { return sizeof(*this);}
+ unsigned int size_of() { return sizeof(*this);}
};
@@ -240,7 +240,7 @@ public:
if (!t_arg) return result_field;
return new Field_date(maybe_null, name, t_arg);
}
- virtual unsigned int size_of () { return sizeof(*this);}
+ unsigned int size_of() { return sizeof(*this);}
};
@@ -259,7 +259,7 @@ public:
if (!t_arg) return result_field;
return new Field_datetime(maybe_null, name, t_arg);
}
- virtual unsigned int size_of () { return sizeof(*this);}
+ unsigned int size_of() { return sizeof(*this);}
};
@@ -287,7 +287,7 @@ public:
if (!t_arg) return result_field;
return new Field_time(maybe_null, name, t_arg);
}
- virtual unsigned int size_of () { return sizeof(*this);}
+ unsigned int size_of() { return sizeof(*this);}
};
@@ -301,7 +301,7 @@ public:
const char *func_name() const { return "curdate"; }
void fix_length_and_dec(); /* Retrieves curtime */
bool get_date(TIME *res,bool fuzzy_date);
- virtual unsigned int size_of () { return sizeof(*this);}
+ unsigned int size_of() { return sizeof(*this);}
};
@@ -323,7 +323,7 @@ public:
const char *func_name() const { return "now"; }
void fix_length_and_dec();
bool get_date(TIME *res,bool fuzzy_date);
- virtual unsigned int size_of () { return sizeof(*this);}
+ unsigned int size_of() { return sizeof(*this);}
};
@@ -348,7 +348,7 @@ public:
const char *func_name() const { return "date_format"; }
void fix_length_and_dec();
uint format_length(const String *format);
- virtual unsigned int size_of () { return sizeof(*this);}
+ unsigned int size_of() { return sizeof(*this);}
};
@@ -408,7 +408,7 @@ public:
double val() { return (double) val_int(); }
longlong val_int();
bool get_date(TIME *res,bool fuzzy_date);
- virtual unsigned int size_of () { return sizeof(*this);}
+ unsigned int size_of() { return sizeof(*this);}
};
class Item_extract :public Item_int_func
@@ -422,7 +422,7 @@ class Item_extract :public Item_int_func
longlong val_int();
const char *func_name() const { return "extract"; }
void fix_length_and_dec();
- virtual unsigned int size_of () { return sizeof(*this);}
+ unsigned int size_of() { return sizeof(*this);}
};
class Item_typecast :public Item_str_func