My Project
Public Member Functions
Field_bit_as_char Class Reference

#include <field.h>

Inheritance diagram for Field_bit_as_char:
Field_bit Field

List of all members.

Public Member Functions

 Field_bit_as_char (uchar *ptr_arg, uint32 len_arg, uchar *null_ptr_arg, uchar null_bit_arg, enum utype unireg_check_arg, const char *field_name_arg)
enum ha_base_keytype key_type () const
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)
void sql_type (String &str) const
Field_bit_as_charclone (MEM_ROOT *mem_root) const
Field_bit_as_charclone () const

Detailed Description

BIT field represented as chars for non-MyISAM tables.

Todo:
The inheritance relationship is backwards since Field_bit is an extended version of Field_bit_as_char and not the other way around. Hence, we should refactor it to fix the hierarchy order.

Member Function Documentation

Field_bit_as_char* Field_bit_as_char::clone ( MEM_ROOT *  mem_root) const [inline, virtual]

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_rootMEM_ROOT to use for memory allocation.
Return values:
NULLIf memory allocation failed.

Reimplemented from Field_bit.

Field_bit_as_char* Field_bit_as_char::clone ( ) const [inline, virtual]

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:
NULLIf memory allocation failed.

Reimplemented from Field_bit.


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