33
33
/** Category of this table. */
34
34
enum_table_category table_category;
36
uint32_t open_count; /* Number of tables in open list */
38
/* The following is copied to each Table on OPEN */
40
Field **found_next_number_field;
41
Field *timestamp_field; /* Used only during open */
42
KEY *key_info; /* data of keys in database */
43
uint *blob_field; /* Index to blobs in Field arrray*/
36
45
/* hash of field names (contains pointers to elements of field array) */
37
46
HASH name_hash; /* hash of field names */
44
53
TableShare *next, /* Link to unused shares */
47
/* The following is copied to each Table on OPEN */
49
Field **found_next_number_field;
50
Field *timestamp_field; /* Used only during open */
51
KEY *key_info; /* data of keys in database */
52
uint *blob_field; /* Index to blobs in Field arrray*/
54
57
unsigned char *default_values; /* row with default values */
55
58
LEX_STRING comment; /* Comment about table */
73
76
LEX_STRING normalized_path; /* unpack_filename(path) */
74
77
LEX_STRING connect_string;
77
Set of keys in use, implemented as a Bitmap.
78
Excludes keys disabled by ALTER Table ... DISABLE KEYS.
81
key_map keys_for_keyread;
82
ha_rows min_rows, max_rows; /* create information */
83
79
uint32_t avg_row_length; /* create information */
84
80
uint32_t block_size; /* create information */
85
uint32_t version, mysql_version;
81
uint32_t mysql_version;
86
83
uint32_t timestamp_offset; /* Set to offset+1 of record */
87
84
uint32_t reclength; /* Recordlength */
88
uint32_t stored_rec_length; /* Stored record length
89
(no generated-only virtual fields) */
85
uint32_t stored_rec_length; /* Stored record length*/
86
enum row_type row_type; /* How rows are stored */
88
ha_rows min_rows; /* create information */
89
ha_rows max_rows; /* create information */
91
91
StorageEngine *storage_engine; /* storage engine plugin */
92
92
inline StorageEngine *db_type() const /* table_type for handler */
94
94
return storage_engine;
96
enum row_type row_type; /* How rows are stored */
97
96
enum tmp_table_type tmp_table;
98
97
enum ha_choice page_checksum;
100
99
uint32_t ref_count; /* How many Table objects uses this */
101
uint32_t open_count; /* Number of tables in open list */
102
100
uint32_t blob_ptr_size; /* 4 or 8 */
103
101
uint32_t key_block_size; /* create key_block_size, if used */
104
102
uint32_t null_bytes;
130
128
bool waiting_on_cond; /* Protection against free */
131
Set of keys in use, implemented as a Bitmap.
132
Excludes keys disabled by ALTER Table ... DISABLE KEYS.
135
key_map keys_for_keyread;
133
138
Set share's table cache key and update its db and table name appropriately.