My Project
|
#include <item_timefunc.h>
Public Member Functions | |
Item_time_literal (MYSQL_TIME *ltime, uint dec_arg) | |
const char * | func_name () const |
void | print (String *str, enum_query_type query_type) |
longlong | val_time_temporal () |
bool | get_time (MYSQL_TIME *ltime) |
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 |
TIME'10:10:10'
Item_time_literal::Item_time_literal | ( | MYSQL_TIME * | ltime, |
uint | dec_arg | ||
) | [inline] |
Constructor for Item_time_literal.
ltime | TIME value. |
dec_arg | number of fractional digits in ltime. |
bool Item_time_literal::eq | ( | const Item * | item, |
bool | binary_cmp | ||
) | const [virtual] |
This function is called when:
Reimplemented from Item_func.
void Item_time_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_time_literal::val_time_temporal | ( | ) | [inline, virtual] |
Return time value of item in packed longlong format.
Reimplemented from Item_time_func.