37
table_category(TABLE_UNKNOWN_CATEGORY),
40
found_next_number_field(NULL),
41
timestamp_field(NULL),
51
row_type(ROW_TYPE_DEFAULT),
55
tmp_table(NO_TMP_TABLE),
69
timestamp_field_offset(0),
74
rowid_field_offset(0),
77
next_number_key_offset(0),
78
next_number_keypart(0),
82
column_bitmap_size(0),
84
db_low_byte_first(false),
87
replace_with_name_lock(false),
88
waiting_on_cond(false),
39
} /* Remove gcc warning */
41
95
TableShare(const char *key,
42
uint32_t key_length, const char *new_table_name,
97
const char *new_table_name,
98
const char *new_path) :
99
table_category(TABLE_UNKNOWN_CATEGORY),
102
found_next_number_field(NULL),
103
timestamp_field(NULL),
107
default_values(NULL),
112
stored_rec_length(0),
113
row_type(ROW_TYPE_DEFAULT),
116
storage_engine(NULL),
117
tmp_table(NO_TMP_TABLE),
120
last_null_bit_pos(0),
126
max_unique_length(0),
131
timestamp_field_offset(0),
133
db_create_options(0),
134
db_options_in_use(0),
136
rowid_field_offset(0),
138
next_number_index(0),
139
next_number_key_offset(0),
140
next_number_keypart(0),
144
column_bitmap_size(0),
146
db_low_byte_first(false),
149
replace_with_name_lock(false),
150
waiting_on_cond(false),
45
154
init(key, key_length, new_table_name, new_path);
66
175
pthread_mutex_t mutex; /* For locking the share */
67
176
pthread_cond_t cond; /* To signal that share is ready */
70
178
unsigned char *default_values; /* row with default values */
71
179
const CHARSET_INFO *table_charset; /* Default charset of string fields */