|
drizzle
C++ MySQL-protocol-compatible database server
|
#include <drizzled/enum.h>#include <stdint.h>#include "common.h"Go to the source code of this file.
Namespaces | |
| namespace | drizzled |
| TODO: Rename this file - func.h is stupid. | |
Macros | |
| #define | GLOBAL_TEMPORARY_EXT ".temporary" |
| #define | LANGUAGE "english/" |
| #define | TEMP_PREFIX "MY" |
| #define | ER(X) |
| #define | STRERROR_MAX 256 |
| #define | MAX_FIELD_NAME 34 /* Max colum name length +2 */ |
| #define | MAX_SYS_VAR_LENGTH 32 |
| #define | MAX_INDEXES 64 |
| #define | MAX_REFLENGTH 4 /* Max length for record ref */ |
| #define | MAX_MBWIDTH 4 /* Max multibyte sequence */ |
| #define | MAX_FIELD_CHARLENGTH 255 |
| #define | MAX_FIELD_VARCHARLENGTH 65535 |
| #define | CONVERT_IF_BIGGER_TO_BLOB 512 /* Used for CREATE ... SELECT */ |
| #define | MAX_FIELD_WIDTH (MAX_FIELD_CHARLENGTH*MAX_MBWIDTH+1) |
| #define | MAX_TABLES (sizeof(table_map)*8-3) /* Max tables in join */ |
| #define | PARAM_TABLE_BIT (((table_map) 1) << (sizeof(table_map)*8-3)) |
| #define | OUTER_REF_TABLE_BIT (((table_map) 1) << (sizeof(table_map)*8-2)) |
| #define | RAND_TABLE_BIT (((table_map) 1) << (sizeof(table_map)*8-1)) |
| #define | PSEUDO_TABLE_BITS |
| #define | MAX_FIELDS 4096 /* Historical limit from MySQL FRM. */ |
| #define | MAX_SELECT_NESTING (sizeof(nesting_map)*8-1) |
| #define | MAX_SORT_MEMORY (2048*1024-MALLOC_OVERHEAD) |
| #define | MIN_SORT_MEMORY (32*1024-MALLOC_OVERHEAD) |
| #define | DEFAULT_ERROR_COUNT 64 |
| #define | EXTRA_RECORDS 10 /* Extra records in sort */ |
| #define | NAMES_SEP_CHAR '\377' /* Char to sep. names */ |
| #define | READ_RECORD_BUFFER (uint32_t) (IO_SIZE*8) /* Pointer_buffer_size */ |
| #define | DISK_BUFFER_SIZE (uint32_t) (IO_SIZE*16) /* Size of diskbuffer */ |
| #define | ME_ERROR (ME_BELL+ME_OLDWIN+ME_NOREFRESH) |
| #define | MYF_RW MYF(MY_WME+MY_NABP) /* Vid my_read & my_write */ |
| #define | MIN_TURBOBM_PATTERN_LEN 3 |
| #define | MAX_FIELDS_BEFORE_HASH 32 |
| #define | TABLE_OPEN_CACHE_MIN 64 |
| #define | TABLE_OPEN_CACHE_DEFAULT 1024 |
| #define | STACK_MIN_SIZE 12000 |
| Abort if less stack during eval. | |
| #define | STACK_MIN_SIZE_FOR_OPEN 1024*80 |
| #define | STACK_BUFF_ALLOC 352 |
| For stack overrun checks. | |
| #define | QUERY_ALLOC_BLOCK_SIZE 8192 |
| #define | QUERY_ALLOC_PREALLOC_SIZE 8192 |
| #define | RANGE_ALLOC_BLOCK_SIZE 4096 |
| #define | TABLE_ALLOC_BLOCK_SIZE 1024 |
| #define | WARN_ALLOC_BLOCK_SIZE 2048 |
| #define | WARN_ALLOC_PREALLOC_SIZE 1024 |
| #define | MIN_FILE_LENGTH_TO_USE_ROW_CACHE (10L*1024*1024) |
| #define | MIN_ROWS_TO_USE_TABLE_CACHE 100 |
| #define | TIME_FOR_COMPARE 5 |
| #define | TIME_FOR_COMPARE_ROWID (TIME_FOR_COMPARE*2) |
| #define | DISK_SEEK_BASE_COST ((double)0.9) |
| #define | BLOCKS_IN_AVG_SEEK 128 |
| #define | DISK_SEEK_PROP_COST ((double)0.1/BLOCKS_IN_AVG_SEEK) |
| #define | MATCHING_ROWS_IN_OTHER_TABLE 10 |
| #define | KEY_DEFAULT_PACK_LENGTH 8 |
| #define | PROCESS_LIST_WIDTH 100 |
| #define | MODE_NO_ZERO_DATE (2) |
| #define | MODE_INVALID_DATES (MODE_NO_ZERO_DATE*2) |
| #define | MY_CHARSET_BIN_MB_MAXLEN 1 |
| #define | UNDEF_POS (-1) |
| #define | portable_sizeof_char_ptr 8 |
| #define | TMP_FILE_PREFIX "#sql" |
| #define | TMP_FILE_PREFIX_LENGTH 4 |
| #define | WEEK_MONDAY_FIRST 1 |
| #define | WEEK_YEAR 2 |
| #define | WEEK_FIRST_WEEKDAY 4 |
| #define | MAX_DAY_NUMBER 3652424L |
| #define | STRING_BUFFER_USUAL_SIZE 80 |
| #define | HA_ADMIN_ALREADY_DONE 1 |
| #define | HA_ADMIN_OK 0 |
| #define | HA_ADMIN_NOT_IMPLEMENTED -1 |
| #define | HA_ADMIN_FAILED -2 |
| #define | HA_ADMIN_CORRUPT -3 |
| #define | HA_ADMIN_INTERNAL_ERROR -4 |
| #define | HA_ADMIN_INVALID -5 |
| #define | HA_ADMIN_REJECT -6 |
| #define | HA_READ_NEXT 1 /* TODO really use this flag */ |
| #define | HA_READ_PREV 2 /* supports ::index_prev */ |
| #define | HA_READ_ORDER 4 /* index_next/prev follow sort order */ |
| #define | HA_READ_RANGE 8 /* can find all records in a range */ |
| #define | HA_ONLY_WHOLE_INDEX 16 /* Can't use part key searches */ |
| #define | HA_KEYREAD_ONLY 64 /* Support HA_EXTRA_KEYREAD */ |
| #define | HA_KEY_SCAN_NOT_ROR 128 |
| #define | HA_KEY_SWITCH_NONUNIQ 0 |
| #define | HA_KEY_SWITCH_ALL 1 |
| #define | HA_KEY_SWITCH_NONUNIQ_SAVE 2 |
| #define | HA_KEY_SWITCH_ALL_SAVE 3 |
| #define | HA_OPEN_KEYFILE 1 |
| #define | HA_OPEN_RNDFILE 2 |
| #define | HA_GET_INDEX 4 |
| #define | HA_GET_INFO 8 /* do a ha_info() after open */ |
| #define | HA_READ_ONLY 16 /* File opened as readonly */ |
| #define | HA_TRY_READ_ONLY 32 |
| #define | HA_WAIT_IF_LOCKED 64 /* Wait if locked on open */ |
| #define | HA_ABORT_IF_LOCKED 128 /* skip if locked on open.*/ |
| #define | HA_BLOCK_LOCK 256 /* unlock when reading some records */ |
| #define | HA_OPEN_TEMPORARY 512 |
| #define | HA_KEY_NULL_LENGTH 1 |
| #define | HA_KEY_BLOB_LENGTH 2 |
| #define | HA_CHECK_DUP_KEY 1 |
| #define | HA_CHECK_DUP_UNIQUE 2 |
| #define | HA_CHECK_DUP (HA_CHECK_DUP_KEY + HA_CHECK_DUP_UNIQUE) |
| #define | HA_CREATE_USED_AUTO (1L << 0) |
| #define | HA_CREATE_USED_CHARSET (1L << 8) |
| #define | HA_CREATE_USED_DEFAULT_CHARSET (1L << 9) |
| #define | HA_MRR_SINGLE_POINT 1 |
| #define | HA_MRR_FIXED_KEY 2 |
| #define | HA_MRR_NO_ASSOCIATION 4 |
| #define | HA_MRR_SORTED 8 |
| #define | HA_MRR_INDEX_ONLY 16 |
| #define | HA_MRR_LIMITS 32 |
| #define | HA_MRR_USE_DEFAULT_IMPL 64 |
| #define | MYF(v) |
| #define | MY_COLL_ALLOW_SUPERSET_CONV 1 |
| #define | MY_COLL_ALLOW_COERCIBLE_CONV 2 |
| #define | MY_COLL_ALLOW_CONV 3 |
| #define | MY_COLL_DISALLOW_NONE 4 |
| #define | MY_COLL_CMP_CONV 7 |
| #define | FIELDFLAG_PACK_SHIFT 3 |
| #define | FIELDFLAG_MAX_DEC 31 |
| #define | MTYP_TYPENR(type) |
| #define | set_if_bigger(a, b) |
| #define | set_if_smaller(a, b) |
| #define | array_elements(a) |
| #define | FN_LIBCHAR '/' |
| #define | MALLOC_OVERHEAD 8 |
| #define | uint64_t2double(A) |
| #define | int64_t2double(A) |
| #define | offsetof(TYPE, MEMBER) |
| #define | DBL_MIN 4.94065645841246544e-324 |
| #define | DBL_MAX 1.79769313486231470e+308 |
| #define | M_PI 3.14159265358979323846 |
| #define | M_E 2.7182818284590452354 |
| #define | M_LN2 0.69314718055994530942 |
| #define | MY_ALIGN(A, L) |
| #define | ALIGN_SIZE(A) |
| #define | ADD_TO_PTR(ptr, size, type) |
| #define | MY_DIV_UP(A, B) |
| #define | MY_ALIGNED_BYTE_ARRAY(N, S, T) |
| #define | MY_FILEPOS_ERROR -1 |
| #define | DRIZZLE_SERVER |
| #define | MY_INT32_NUM_DECIMAL_DIGITS 11 |
| #define | MY_INT64_NUM_DECIMAL_DIGITS 21 |
| #define | IO_SIZE 4096 |
| #define | FN_LEN 256 |
| #define | FN_REFLEN 512 |
| #define | FN_EXTCHAR '.' |
| #define | FN_HOMELIB '~' |
| #define | FN_CURLIB '.' |
| #define | FN_PARENTDIR ".." |
| #define | QUOTE_ARG(x) |
| #define | STRINGIFY_ARG(x) |
| #define | DRIZZLE_LIKELY(x) |
| #define | DRIZZLE_UNLIKELY(x) |
| #define | NEED_EXPLICIT_SYNC_DIR 1 |
| #define | _DTRACE_VERSION 0 |
Typedefs | |
| typedef void * | drizzled::range_seq_t |
| typedef int | drizzled::myf |
| typedef uint64_t | drizzled::table_map |
| typedef uint32_t | drizzled::nesting_map |
Enumerations | |
| enum | ha_stat_type { HA_ENGINE_STATUS , HA_ENGINE_LOGS , HA_ENGINE_MUTEX } |
| enum | start_transaction_option_t { START_TRANS_NO_OPTIONS , START_TRANS_OPT_WITH_CONS_SNAPSHOT } |
Functions | |
| static void | drizzled::clear_timestamp_auto_bits (timestamp_auto_set_type &_target_, timestamp_auto_set_type _bits_) |
| static uint32_t | drizzled::f_settype (const enum enum_field_types x) |
| template<class T> | |
| void | drizzled::safe_delete (T *&ptr) |
Variables | |
| const uint32_t | drizzled::MAX_KEY = MAX_INDEXES |
| const uint32_t | drizzled::MAX_REF_PARTS = 16 |
| const uint32_t | drizzled::MAX_KEY_LENGTH = 4096 |
| const uint32_t | drizzled::MAX_KEY_LENGTH_DECIMAL_WIDTH = 4 |
| static const uint32_t | drizzled::UNCACHEABLE_DEPENDENT = 1 |
| static const uint32_t | drizzled::UNCACHEABLE_RAND = 2 |
| static const uint32_t | drizzled::UNCACHEABLE_SIDEEFFECT = 3 |
| static const uint32_t | drizzled::UNCACHEABLE_EXPLAIN = 4 |
| forcing to save JOIN for explain | |
| static const uint32_t | drizzled::UNCACHEABLE_PREPARE = 5 |
| static const uint32_t | drizzled::UNCACHEABLE_UNITED = 6 |
| static const uint32_t | drizzled::TL_OPTION_UPDATING = 0 |
| static const uint32_t | drizzled::TL_OPTION_FORCE_INDEX = 1 |
| static const uint32_t | drizzled::TL_OPTION_IGNORE_LEAVES = 2 |
| static const uint32_t | drizzled::TL_OPTION_ALIAS = 3 |
| static const uint32_t | drizzled::NUM_OF_TABLE_OPTIONS = 4 |
| const uint32_t | drizzled::HA_MAX_REC_LENGTH = 65535 |
| static const uint32_t | drizzled::ONCE_ALLOC_INIT = 4096 |
| static const uint32_t | drizzled::RECORD_CACHE_SIZE = 64*1024 |
Mostly constants and some macros/functions used by the server
Definition in file definitions.h.
| #define _DTRACE_VERSION 0 |
Definition at line 562 of file definitions.h.
| #define ADD_TO_PTR | ( | ptr, | |
| size, | |||
| type ) |
Definition at line 486 of file definitions.h.
| #define ALIGN_SIZE | ( | A | ) |
Definition at line 482 of file definitions.h.
| #define array_elements | ( | a | ) |
Definition at line 423 of file definitions.h.
| #define BLOCKS_IN_AVG_SEEK 128 |
Definition at line 159 of file definitions.h.
| #define CONVERT_IF_BIGGER_TO_BLOB 512 /* Used for CREATE ... SELECT */ |
Definition at line 66 of file definitions.h.
| #define DBL_MAX 1.79769313486231470e+308 |
Definition at line 462 of file definitions.h.
| #define DBL_MIN 4.94065645841246544e-324 |
Definition at line 459 of file definitions.h.
| #define DEFAULT_ERROR_COUNT 64 |
Definition at line 84 of file definitions.h.
| #define DISK_BUFFER_SIZE (uint32_t) (IO_SIZE*16) /* Size of diskbuffer */ |
Definition at line 89 of file definitions.h.
| #define DISK_SEEK_BASE_COST ((double)0.9) |
Definition at line 157 of file definitions.h.
| #define DISK_SEEK_PROP_COST ((double)0.1/BLOCKS_IN_AVG_SEEK) |
Definition at line 161 of file definitions.h.
| #define DRIZZLE_LIKELY | ( | x | ) |
Definition at line 550 of file definitions.h.
| #define DRIZZLE_SERVER |
Definition at line 505 of file definitions.h.
| #define DRIZZLE_UNLIKELY | ( | x | ) |
Definition at line 551 of file definitions.h.
| #define ER | ( | X | ) |
Definition at line 43 of file definitions.h.
| #define EXTRA_RECORDS 10 /* Extra records in sort */ |
Definition at line 85 of file definitions.h.
| #define FIELDFLAG_MAX_DEC 31 |
Definition at line 370 of file definitions.h.
| #define FIELDFLAG_PACK_SHIFT 3 |
Definition at line 369 of file definitions.h.
| #define FN_CURLIB '.' |
Definition at line 529 of file definitions.h.
| #define FN_EXTCHAR '.' |
Definition at line 525 of file definitions.h.
| #define FN_HOMELIB '~' |
Definition at line 527 of file definitions.h.
| #define FN_LEN 256 |
Definition at line 521 of file definitions.h.
| #define FN_LIBCHAR '/' |
Definition at line 427 of file definitions.h.
| #define FN_PARENTDIR ".." |
Definition at line 531 of file definitions.h.
| #define FN_REFLEN 512 |
Definition at line 523 of file definitions.h.
| #define GLOBAL_TEMPORARY_EXT ".temporary" |
Definition at line 38 of file definitions.h.
| #define HA_ABORT_IF_LOCKED 128 /* skip if locked on open.*/ |
Definition at line 268 of file definitions.h.
| #define HA_ADMIN_ALREADY_DONE 1 |
Definition at line 227 of file definitions.h.
| #define HA_ADMIN_CORRUPT -3 |
Definition at line 231 of file definitions.h.
| #define HA_ADMIN_FAILED -2 |
Definition at line 230 of file definitions.h.
| #define HA_ADMIN_INTERNAL_ERROR -4 |
Definition at line 232 of file definitions.h.
| #define HA_ADMIN_INVALID -5 |
Definition at line 233 of file definitions.h.
| #define HA_ADMIN_NOT_IMPLEMENTED -1 |
Definition at line 229 of file definitions.h.
| #define HA_ADMIN_OK 0 |
Definition at line 228 of file definitions.h.
| #define HA_ADMIN_REJECT -6 |
Definition at line 234 of file definitions.h.
| #define HA_BLOCK_LOCK 256 /* unlock when reading some records */ |
Definition at line 269 of file definitions.h.
| #define HA_CHECK_DUP (HA_CHECK_DUP_KEY + HA_CHECK_DUP_UNIQUE) |
Definition at line 288 of file definitions.h.
| #define HA_CHECK_DUP_KEY 1 |
Definition at line 286 of file definitions.h.
| #define HA_CHECK_DUP_UNIQUE 2 |
Definition at line 287 of file definitions.h.
| #define HA_CREATE_USED_AUTO (1L << 0) |
Definition at line 292 of file definitions.h.
| #define HA_CREATE_USED_CHARSET (1L << 8) |
Definition at line 293 of file definitions.h.
| #define HA_CREATE_USED_DEFAULT_CHARSET (1L << 9) |
Definition at line 294 of file definitions.h.
| #define HA_GET_INDEX 4 |
Definition at line 262 of file definitions.h.
| #define HA_GET_INFO 8 /* do a ha_info() after open */ |
Definition at line 263 of file definitions.h.
| #define HA_KEY_BLOB_LENGTH 2 |
Definition at line 274 of file definitions.h.
| #define HA_KEY_NULL_LENGTH 1 |
Definition at line 273 of file definitions.h.
| #define HA_KEY_SCAN_NOT_ROR 128 |
Definition at line 247 of file definitions.h.
| #define HA_KEY_SWITCH_ALL 1 |
Definition at line 251 of file definitions.h.
| #define HA_KEY_SWITCH_ALL_SAVE 3 |
Definition at line 253 of file definitions.h.
| #define HA_KEY_SWITCH_NONUNIQ 0 |
Definition at line 250 of file definitions.h.
| #define HA_KEY_SWITCH_NONUNIQ_SAVE 2 |
Definition at line 252 of file definitions.h.
| #define HA_KEYREAD_ONLY 64 /* Support HA_EXTRA_KEYREAD */ |
Definition at line 242 of file definitions.h.
| #define HA_MRR_FIXED_KEY 2 |
Definition at line 302 of file definitions.h.
| #define HA_MRR_INDEX_ONLY 16 |
Definition at line 317 of file definitions.h.
| #define HA_MRR_LIMITS 32 |
Definition at line 323 of file definitions.h.
| #define HA_MRR_NO_ASSOCIATION 4 |
Definition at line 308 of file definitions.h.
| #define HA_MRR_SINGLE_POINT 1 |
Definition at line 301 of file definitions.h.
| #define HA_MRR_SORTED 8 |
Definition at line 314 of file definitions.h.
| #define HA_MRR_USE_DEFAULT_IMPL 64 |
Definition at line 332 of file definitions.h.
| #define HA_ONLY_WHOLE_INDEX 16 /* Can't use part key searches */ |
Definition at line 241 of file definitions.h.
| #define HA_OPEN_KEYFILE 1 |
Definition at line 260 of file definitions.h.
| #define HA_OPEN_RNDFILE 2 |
Definition at line 261 of file definitions.h.
| #define HA_OPEN_TEMPORARY 512 |
Definition at line 270 of file definitions.h.
| #define HA_READ_NEXT 1 /* TODO really use this flag */ |
Definition at line 237 of file definitions.h.
| #define HA_READ_ONLY 16 /* File opened as readonly */ |
Definition at line 264 of file definitions.h.
| #define HA_READ_ORDER 4 /* index_next/prev follow sort order */ |
Definition at line 239 of file definitions.h.
| #define HA_READ_PREV 2 /* supports ::index_prev */ |
Definition at line 238 of file definitions.h.
| #define HA_READ_RANGE 8 /* can find all records in a range */ |
Definition at line 240 of file definitions.h.
| #define HA_TRY_READ_ONLY 32 |
Definition at line 266 of file definitions.h.
| #define HA_WAIT_IF_LOCKED 64 /* Wait if locked on open */ |
Definition at line 267 of file definitions.h.
| #define int64_t2double | ( | A | ) |
Definition at line 450 of file definitions.h.
| #define IO_SIZE 4096 |
Definition at line 519 of file definitions.h.
| #define KEY_DEFAULT_PACK_LENGTH 8 |
Don't pack string keys shorter than this (if PACK_KEYS=1 isn't used).
Definition at line 172 of file definitions.h.
| #define LANGUAGE "english/" |
Definition at line 40 of file definitions.h.
| #define M_E 2.7182818284590452354 |
Definition at line 471 of file definitions.h.
| #define M_LN2 0.69314718055994530942 |
Definition at line 474 of file definitions.h.
| #define M_PI 3.14159265358979323846 |
Definition at line 468 of file definitions.h.
| #define MALLOC_OVERHEAD 8 |
Definition at line 433 of file definitions.h.
| #define MATCHING_ROWS_IN_OTHER_TABLE 10 |
Number of rows in a reference table when refereed through a not unique key. This value is only used when we don't know anything about the key distribution.
Definition at line 169 of file definitions.h.
| #define MAX_DAY_NUMBER 3652424L |
Definition at line 218 of file definitions.h.
| #define MAX_FIELD_CHARLENGTH 255 |
Definition at line 64 of file definitions.h.
| #define MAX_FIELD_NAME 34 /* Max colum name length +2 */ |
Definition at line 49 of file definitions.h.
| #define MAX_FIELD_VARCHARLENGTH 65535 |
Definition at line 65 of file definitions.h.
| #define MAX_FIELD_WIDTH (MAX_FIELD_CHARLENGTH*MAX_MBWIDTH+1) |
Definition at line 69 of file definitions.h.
| #define MAX_FIELDS 4096 /* Historical limit from MySQL FRM. */ |
Definition at line 77 of file definitions.h.
| #define MAX_FIELDS_BEFORE_HASH 32 |
Definition at line 105 of file definitions.h.
| #define MAX_INDEXES 64 |
Definition at line 51 of file definitions.h.
| #define MAX_MBWIDTH 4 /* Max multibyte sequence */ |
Definition at line 63 of file definitions.h.
| #define MAX_REFLENGTH 4 /* Max length for record ref */ |
Definition at line 60 of file definitions.h.
| #define MAX_SELECT_NESTING (sizeof(nesting_map)*8-1) |
Definition at line 79 of file definitions.h.
| #define MAX_SORT_MEMORY (2048*1024-MALLOC_OVERHEAD) |
Definition at line 81 of file definitions.h.
| #define MAX_SYS_VAR_LENGTH 32 |
Definition at line 50 of file definitions.h.
| #define MAX_TABLES (sizeof(table_map)*8-3) /* Max tables in join */ |
Definition at line 71 of file definitions.h.
| #define ME_ERROR (ME_BELL+ME_OLDWIN+ME_NOREFRESH) |
Definition at line 91 of file definitions.h.
| #define MIN_FILE_LENGTH_TO_USE_ROW_CACHE (10L*1024*1024) |
Definition at line 134 of file definitions.h.
| #define MIN_ROWS_TO_USE_TABLE_CACHE 100 |
Definition at line 135 of file definitions.h.
| #define MIN_SORT_MEMORY (32*1024-MALLOC_OVERHEAD) |
Definition at line 82 of file definitions.h.
| #define MIN_TURBOBM_PATTERN_LEN 3 |
Definition at line 99 of file definitions.h.
| #define MODE_INVALID_DATES (MODE_NO_ZERO_DATE*2) |
Definition at line 179 of file definitions.h.
| #define MODE_NO_ZERO_DATE (2) |
Definition at line 178 of file definitions.h.
| #define MTYP_TYPENR | ( | type | ) |
Definition at line 382 of file definitions.h.
| #define MY_ALIGN | ( | A, | |
| L ) |
Definition at line 481 of file definitions.h.
| #define MY_ALIGNED_BYTE_ARRAY | ( | N, | |
| S, | |||
| T ) |
Definition at line 490 of file definitions.h.
| #define MY_CHARSET_BIN_MB_MAXLEN 1 |
Definition at line 181 of file definitions.h.
| #define MY_COLL_ALLOW_COERCIBLE_CONV 2 |
Definition at line 354 of file definitions.h.
| #define MY_COLL_ALLOW_CONV 3 |
Definition at line 355 of file definitions.h.
| #define MY_COLL_ALLOW_SUPERSET_CONV 1 |
Definition at line 353 of file definitions.h.
| #define MY_COLL_CMP_CONV 7 |
Definition at line 357 of file definitions.h.
| #define MY_COLL_DISALLOW_NONE 4 |
Definition at line 356 of file definitions.h.
| #define MY_DIV_UP | ( | A, | |
| B ) |
Definition at line 489 of file definitions.h.
| #define MY_FILEPOS_ERROR -1 |
Definition at line 503 of file definitions.h.
| #define MY_INT32_NUM_DECIMAL_DIGITS 11 |
Definition at line 508 of file definitions.h.
| #define MY_INT64_NUM_DECIMAL_DIGITS 21 |
Definition at line 511 of file definitions.h.
| #define MYF | ( | v | ) |
Definition at line 335 of file definitions.h.
| #define MYF_RW MYF(MY_WME+MY_NABP) /* Vid my_read & my_write */ |
Definition at line 92 of file definitions.h.
| #define NAMES_SEP_CHAR '\377' /* Char to sep. names */ |
Definition at line 86 of file definitions.h.
| #define NEED_EXPLICIT_SYNC_DIR 1 |
Definition at line 558 of file definitions.h.
| #define offsetof | ( | TYPE, | |
| MEMBER ) |
Definition at line 454 of file definitions.h.
| #define OUTER_REF_TABLE_BIT (((table_map) 1) << (sizeof(table_map)*8-2)) |
Definition at line 73 of file definitions.h.
| #define PARAM_TABLE_BIT (((table_map) 1) << (sizeof(table_map)*8-3)) |
Definition at line 72 of file definitions.h.
| #define portable_sizeof_char_ptr 8 |
Definition at line 206 of file definitions.h.
| #define PROCESS_LIST_WIDTH 100 |
Characters shown for the command in 'show processlist'.
Definition at line 175 of file definitions.h.
| #define PSEUDO_TABLE_BITS |
Definition at line 75 of file definitions.h.
| #define QUERY_ALLOC_BLOCK_SIZE 8192 |
Definition at line 123 of file definitions.h.
| #define QUERY_ALLOC_PREALLOC_SIZE 8192 |
Definition at line 124 of file definitions.h.
| #define QUOTE_ARG | ( | x | ) |
Definition at line 535 of file definitions.h.
| #define RAND_TABLE_BIT (((table_map) 1) << (sizeof(table_map)*8-1)) |
Definition at line 74 of file definitions.h.
| #define RANGE_ALLOC_BLOCK_SIZE 4096 |
Definition at line 125 of file definitions.h.
| #define READ_RECORD_BUFFER (uint32_t) (IO_SIZE*8) /* Pointer_buffer_size */ |
Definition at line 88 of file definitions.h.
| #define set_if_bigger | ( | a, | |
| b ) |
Definition at line 403 of file definitions.h.
| #define set_if_smaller | ( | a, | |
| b ) |
Definition at line 409 of file definitions.h.
| #define STACK_BUFF_ALLOC 352 |
For stack overrun checks.
Definition at line 121 of file definitions.h.
| #define STACK_MIN_SIZE 12000 |
Abort if less stack during eval.
Definition at line 118 of file definitions.h.
| #define STACK_MIN_SIZE_FOR_OPEN 1024*80 |
Definition at line 120 of file definitions.h.
| #define STRERROR_MAX 256 |
Definition at line 46 of file definitions.h.
| #define STRING_BUFFER_USUAL_SIZE 80 |
Definition at line 220 of file definitions.h.
| #define STRINGIFY_ARG | ( | x | ) |
Definition at line 539 of file definitions.h.
| #define TABLE_ALLOC_BLOCK_SIZE 1024 |
Definition at line 126 of file definitions.h.
| #define TABLE_OPEN_CACHE_DEFAULT 1024 |
Definition at line 107 of file definitions.h.
| #define TABLE_OPEN_CACHE_MIN 64 |
Definition at line 106 of file definitions.h.
| #define TEMP_PREFIX "MY" |
Definition at line 41 of file definitions.h.
| #define TIME_FOR_COMPARE 5 |
The following is used to decide if MySQL should use table scanning instead of reading with keys. The number says how many evaluation of the WHERE clause is comparable to reading one extra row from a table.
Definition at line 142 of file definitions.h.
| #define TIME_FOR_COMPARE_ROWID (TIME_FOR_COMPARE*2) |
Number of comparisons of table rowids equivalent to reading one row from a table.
Definition at line 148 of file definitions.h.
| #define TMP_FILE_PREFIX "#sql" |
Prefix for tmp tables
Definition at line 208 of file definitions.h.
| #define TMP_FILE_PREFIX_LENGTH 4 |
Definition at line 209 of file definitions.h.
| #define uint64_t2double | ( | A | ) |
Definition at line 446 of file definitions.h.
| #define UNDEF_POS (-1) |
Definition at line 195 of file definitions.h.
| #define WARN_ALLOC_BLOCK_SIZE 2048 |
Definition at line 127 of file definitions.h.
| #define WARN_ALLOC_PREALLOC_SIZE 1024 |
Definition at line 128 of file definitions.h.
| #define WEEK_FIRST_WEEKDAY 4 |
Definition at line 214 of file definitions.h.
| #define WEEK_MONDAY_FIRST 1 |
Definition at line 212 of file definitions.h.
| #define WEEK_YEAR 2 |
Definition at line 213 of file definitions.h.