My Project
Public Member Functions | Protected Member Functions
Item_func_now Class Reference
Inheritance diagram for Item_func_now:
Item_datetime_func Item_temporal_func Item_func Item_result_field Item Item_func_now_local Item_func_now_utc

List of all members.

Public Member Functions

 Item_func_now (uint8 dec_arg)
void fix_length_and_dec ()
type_conversion_status save_in_field (Field *to, bool no_conversions)
longlong val_date_temporal ()
bool get_date (MYSQL_TIME *res, uint fuzzy_date)
Stringval_str (String *str)

Protected Member Functions

virtual Time_zonetime_zone ()=0

Constructor & Destructor Documentation

Item_func_now::Item_func_now ( uint8  dec_arg) [inline]

Constructor for Item_func_now.

dec_argNumber of fractional digits.

Member Function Documentation

type_conversion_status Item_func_now::save_in_field ( Field field,
bool  no_conversions 
) [virtual]

Save a temporal value in packed longlong format into a Field. Used in optimizer.

OUTfield The field to set the value to.
Return values:
0On success.
>0In error.

Reimplemented from Item_datetime_func.

longlong Item_func_now::val_date_temporal ( ) [inline, virtual]

Return date value of item in packed longlong format.

Reimplemented from Item_datetime_func.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines