My Project
|
#include <item_timefunc.h>
Public Member Functions | |
Item_date_literal (MYSQL_TIME *ltime) | |
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 |
DATE'2010-01-01'
Item_date_literal::Item_date_literal | ( | MYSQL_TIME * | ltime | ) | [inline] |
Constructor for Item_date_literal.
ltime | DATE value. |
bool Item_date_literal::eq | ( | const Item * | item, |
bool | binary_cmp | ||
) | const [virtual] |
This function is called when:
Reimplemented from Item_func.
void Item_date_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_date_literal::val_date_temporal | ( | ) | [inline, virtual] |
Return date value of item in packed longlong format.
Reimplemented from Item_date_func.