My Project
|
#include <item_timefunc.h>
Public Member Functions | |
Item_datetime_literal (MYSQL_TIME *ltime, uint dec_arg) | |
const char * | func_name () const |
void | print (String *str, enum_query_type query_type) |
longlong | val_date_temporal () |
bool | get_date (MYSQL_TIME *ltime, uint fuzzy_date) |
String * | val_str (String *str) |
void | fix_length_and_dec () |
bool | check_partition_func_processor (uchar *int_arg) |
bool | basic_const_item () const |
bool | const_item () const |
table_map | used_tables () const |
table_map | not_null_tables () const |
void | cleanup () |
bool | eq (const Item *item, bool binary_cmp) const |
TIMESTAMP'2001-01-01 10:20:30'
Item_datetime_literal::Item_datetime_literal | ( | MYSQL_TIME * | ltime, |
uint | dec_arg | ||
) | [inline] |
Constructor for Item_datetime_literal.
ltime | DATETIME value. |
dec_arg | number of fractional digits in ltime. |
bool Item_datetime_literal::eq | ( | const Item * | item, |
bool | binary_cmp | ||
) | const [virtual] |
This function is called when:
Reimplemented from Item_func.
void Item_datetime_literal::print | ( | String * | str, |
enum_query_type | query_type | ||
) | [virtual] |
This method is used for to:
For more information about view definition query, INFORMATION_SCHEMA query and why they should be generated from the Item-tree,
Reimplemented from Item_func.
longlong Item_datetime_literal::val_date_temporal | ( | ) | [inline, virtual] |
Return date value of item in packed longlong format.
Reimplemented from Item_datetime_func.