My Project
|
#include <item_timefunc.h>
Public Member Functions | |
Item_datetime_func (Item *a) | |
Item_datetime_func (Item *a, Item *b) | |
Item_datetime_func (Item *a, Item *b, Item *c) | |
enum_field_types | field_type () const |
double | val_real () |
String * | val_str (String *str) |
longlong | val_int () |
longlong | val_date_temporal () |
my_decimal * | val_decimal (my_decimal *decimal_value) |
type_conversion_status | save_in_field (Field *field, bool no_conversions) |
bool | get_time (MYSQL_TIME *ltime) |
virtual bool | get_date (MYSQL_TIME *res, uint fuzzy_date)=0 |
Abstract class for functions returning DATETIME values.
type_conversion_status Item_datetime_func::save_in_field | ( | Field * | field, |
bool | no_conversions | ||
) | [inline, virtual] |
Save a temporal value in packed longlong format into a Field. Used in optimizer.
OUT | field The field to set the value to. |
0 | On success. |
>0 | In error. |
Reimplemented from Item.
Reimplemented in Item_func_now.
longlong Item_datetime_func::val_date_temporal | ( | ) | [virtual] |
Return date value of item in packed longlong format.
Reimplemented from Item.
Reimplemented in Item_func_now, and Item_datetime_literal.