My Project
|
Public Member Functions | |
Item_uint (const char *str_arg, uint length) | |
Item_uint (ulonglong i) | |
Item_uint (const Name_string &name_arg, longlong i, uint length) | |
double | val_real () |
String * | val_str (String *) |
Item * | clone_item () |
type_conversion_status | save_in_field (Field *field, bool no_conversions) |
virtual void | print (String *str, enum_query_type query_type) |
Item_num * | neg () |
uint | decimal_precision () const |
bool | check_partition_func_processor (uchar *bool_arg) |
void Item_uint::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_int.
type_conversion_status Item_uint::save_in_field | ( | Field * | field, |
bool | no_conversions | ||
) | [virtual] |
Store this item's int-value in a field
field | The field where the int value is to be stored |
no_conversions | Only applies if the value to store is NULL (null_value is true) and NULL is not allowed in field. In that case: if no_coversion is true, do nothing and return with error TYPE_ERR_NULL_CONSTRAINT_VIOLATION. If no_coversion is false, the field's default value is stored if one exists. Otherwise an error is returned. |
TYPE_OK | Storing of value went fine without warnings or errors |
!TYPE_OK | Warning/error as indicated by type_conversion_status enum value |
Reimplemented from Item_int.