|
My Project
|
#include <item_timefunc.h>
Public Member Functions | |
| Item_temporal_hybrid_func (Item *a, Item *b) | |
| enum Item_result | result_type () const |
| enum_field_types | field_type () const |
| const CHARSET_INFO * | charset_for_protocol () const |
| Field * | tmp_table_field (TABLE *table) |
| longlong | val_int () |
| double | val_real () |
| my_decimal * | val_decimal (my_decimal *decimal_value) |
| type_conversion_status | save_in_field (Field *field, bool no_conversions) |
| String * | val_str_ascii (String *str) |
| String * | val_str (String *str) |
| bool | get_date (MYSQL_TIME *ltime, uint fuzzydate) |
| bool | get_time (MYSQL_TIME *ltime) |
Protected Member Functions | |
| virtual bool | val_datetime (MYSQL_TIME *ltime, uint fuzzy_date)=0 |
Protected Attributes | |
| sql_mode_t | sql_mode |
| enum_field_types | cached_field_type |
| String | ascii_buf |
Abstract class for functions returning TIME, DATE, DATETIME or string values, whose data type depends on parameters and is set at fix_field time.
| type_conversion_status Item_temporal_hybrid_func::save_in_field | ( | Field * | field, |
| bool | no_conversions | ||
| ) | [virtual] |
| virtual bool Item_temporal_hybrid_func::val_datetime | ( | MYSQL_TIME * | ltime, |
| uint | fuzzy_date | ||
| ) | [protected, pure virtual] |
Get "native" temporal value as MYSQL_TIME
| OUT | ltime The value is stored here. |
| IN | fuzzy_date Date flags. |
| false | On success. |
| true | On error. |
Implemented in Item_func_str_to_date, and Item_date_add_interval.
| String* Item_temporal_hybrid_func::val_str | ( | String * | str | ) | [inline, virtual] |
Return string value in @character_set_connection.
Implements Item.
| String * Item_temporal_hybrid_func::val_str_ascii | ( | String * | str | ) | [virtual] |
Return string value in ASCII character set.
Reimplemented from Item.
1.7.6.1