My Project
Public Member Functions | Protected Attributes
Item_int_with_ref Class Reference
Inheritance diagram for Item_int_with_ref:
Item_int Item_num Item_basic_constant Item Item_temporal_with_ref Item_datetime_with_ref Item_time_with_ref

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)
Itemclone_item ()
virtual Itemreal_item ()

Protected Attributes


Member Function Documentation

type_conversion_status Item_int_with_ref::save_in_field ( Field field,
bool  no_conversions 
) [inline, virtual]

Store this item's int-value in a field

fieldThe field where the int value is to be stored
no_conversionsOnly 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_OKStoring of value went fine without warnings or errors
!TYPE_OKWarning/error as indicated by type_conversion_status enum value

Reimplemented from Item_int.

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines