My Project
|
Public Member Functions | |
Item_func_makedate (Item *a, Item *b) | |
const char * | func_name () const |
bool | get_date (MYSQL_TIME *ltime, uint fuzzy_date) |
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.