My Project
Public Member Functions
Item_func_makedate Class Reference
Inheritance diagram for Item_func_makedate:
Item_date_func Item_temporal_func Item_func Item_result_field Item

List of all members.

Public Member Functions

 Item_func_makedate (Item *a, Item *b)
const char * func_name () const
bool get_date (MYSQL_TIME *ltime, uint fuzzy_date)

Member Function Documentation

bool Item_func_makedate::get_date ( MYSQL_TIME *  ltime,
uint  fuzzy_date 
) [virtual]

MAKEDATE(a,b) is a date function that creates a date value from a year and day value.

NOTES: As arguments are integers, we can't know if the year is a 2 digit or 4 digit year. In this case we treat all years < 100 as 2 digit years. Ie, this is not safe for dates between 0000-01-01 and 0099-12-31

Implements Item_date_func.

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