List of all members.
Public Member Functions |
| Item_int_with_ref (longlong i, Item *ref_arg, my_bool unsigned_arg) |
type_conversion_status | save_in_field (Field *field, bool no_conversions) |
Item * | clone_item () |
virtual Item * | real_item () |
Protected Attributes |
Item * | ref |
Member Function Documentation
Store this item's int-value in a field
- Parameters:
-
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. |
- Return values:
-
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.
The documentation for this class was generated from the following files: