List of all members.
Public Member Functions |
| Field_set (uchar *ptr_arg, uint32 len_arg, uchar *null_ptr_arg, uchar null_bit_arg, enum utype unireg_check_arg, const char *field_name_arg, uint32 packlength_arg, TYPELIB *typelib_arg, const CHARSET_INFO *charset_arg) |
type_conversion_status | store (const char *to, uint length, const CHARSET_INFO *charset) |
type_conversion_status | store (double nr) |
type_conversion_status | store (longlong nr, bool unsigned_val) |
virtual bool | zero_pack () const |
String * | val_str (String *, String *) |
void | sql_type (String &str) const |
enum_field_types | real_type () const |
bool | has_charset (void) const |
Field_set * | clone (MEM_ROOT *mem_root) const |
Field_set * | clone () const |
Member Function Documentation
Makes a shallow copy of the Field object.
- Note:
- This member function must be overridden in all concrete subclasses. Several of the Field subclasses are concrete even though they are not leaf classes, so the compiler will not always catch this.
- Parameters:
-
mem_root | MEM_ROOT to use for memory allocation. |
- Return values:
-
NULL | If memory allocation failed. |
Reimplemented from Field_enum.
Makes a shallow copy of the Field object.
- Note:
- This member function must be overridden in all concrete subclasses. Several of the Field subclasses are concrete even though they are not leaf classes, so the compiler will not always catch this.
- Return values:
-
NULL | If memory allocation failed. |
Reimplemented from Field_enum.
type_conversion_status Field_set::store |
( |
const char * |
from, |
|
|
uint |
length, |
|
|
const CHARSET_INFO * |
cs |
|
) |
| [virtual] |
- Note:
- Storing a empty string in a enum field gives a warning (if there isn't a empty value in the enum)
Reimplemented from Field_enum.
The documentation for this class was generated from the following files: