My Project
|
Public Member Functions | |
Item_float (const char *str_arg, uint length) | |
Item_float (const Name_string name_arg, double val_arg, uint decimal_par, uint length) | |
Item_float (double value_par, uint decimal_par) | |
type_conversion_status | save_in_field (Field *field, bool no_conversions) |
enum Type | type () const |
enum_field_types | field_type () const |
double | val_real () |
longlong | val_int () |
String * | val_str (String *) |
my_decimal * | val_decimal (my_decimal *) |
bool | get_date (MYSQL_TIME *ltime, uint fuzzydate) |
bool | get_time (MYSQL_TIME *ltime) |
bool | basic_const_item () const |
Item * | clone_item () |
Item_num * | neg () |
virtual void | print (String *str, enum_query_type query_type) |
bool | eq (const Item *, bool binary_cmp) const |
Public Attributes | |
double | value |
Item_float::Item_float | ( | const char * | str_arg, |
uint | length | ||
) |
This function is only called during parsing:
Note: str_arg does not necessarily have to be a null terminated string, e.g. it is NOT when called from item_xmlfunc.cc or sql_yacc.yy.
bool Item_float::eq | ( | const Item * | item, |
bool | binary_cmp | ||
) | const [virtual] |
This function is called when:
Reimplemented from Item.
void Item_float::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.
Reimplemented in Item_static_float_func.
type_conversion_status Item_float::save_in_field | ( | Field * | field, |
bool | no_conversions | ||
) | [virtual] |