|
My Project
|
This file implements classes defined in field.h. More...
#include "sql_priv.h"#include "sql_select.h"#include "rpl_rli.h"#include "rpl_slave.h"#include "strfunc.h"#include "sql_time.h"#include "tztime.h"#include "filesort.h"#include "log_event.h"#include <m_ctype.h>#include <errno.h>#include "sql_join_buffer.h"Classes | |
| struct | Check_field_param |
Defines | |
| #define | MAX_EXPONENT 1024 |
| #define | DOUBLE_TO_STRING_CONVERSION_BUFFER_SIZE FLOATING_POINT_BUFFER |
| #define | LONGLONG_TO_STRING_CONVERSION_BUFFER_SIZE 128 |
| #define | DECIMAL_TO_STRING_CONVERSION_BUFFER_SIZE 128 |
| #define | BLOB_PACK_LENGTH_TO_MAX_LENGH(arg) ((ulong) ((LL(1) << MY_MIN(arg, 4) * 8) - LL(1))) |
| #define | FIELDTYPE_TEAR_FROM (MYSQL_TYPE_BIT + 1) |
| #define | FIELDTYPE_TEAR_TO (MYSQL_TYPE_NEWDECIMAL - 1) |
| #define | FIELDTYPE_NUM (FIELDTYPE_TEAR_FROM + (255 - FIELDTYPE_TEAR_TO)) |
| #define | FLT_EXP_DIG (sizeof(float)*8-FLT_MANT_DIG) |
| #define | DBL_EXP_DIG (sizeof(double)*8-DBL_MANT_DIG) |
Functions | |
| int | field_type2index (enum_field_types field_type) |
| CPP_UNNAMED_NS_START int | compare (unsigned int a, unsigned int b) |
| type_conversion_status | store_internal_with_error_check (Field_new_decimal *field, int err, my_decimal *value) |
| enum_field_types | get_blob_type_from_length (ulong length) |
| uint32 | calc_pack_length (enum_field_types type, uint32 length) |
| uint | pack_length_to_packflag (uint type) |
| Field * | make_field (TABLE_SHARE *share, uchar *ptr, uint32 field_length, uchar *null_pos, uchar null_bit, uint pack_flag, enum_field_types field_type, const CHARSET_INFO *field_charset, Field::geometry_type geom_type, Field::utype unireg_check, TYPELIB *interval, const char *field_name) |
Variables | |
| const char | field_separator = ',' |
This file implements classes defined in field.h.
| CPP_UNNAMED_NS_START int compare | ( | unsigned int | a, |
| unsigned int | b | ||
| ) |
Function to compare two unsigned integers for their relative order. Used below. In an anonymous namespace to not clash with definitions in other files.
1.7.6.1