1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

Changed field_index to use field_index_t instead of uint16

This commit is contained in:
Monty
2020-08-14 11:28:39 +03:00
committed by Sergei Golubchik
parent 00d13069dd
commit 963e5e406d
10 changed files with 42 additions and 36 deletions

View File

@ -36,6 +36,9 @@ class Index_statistics;
class THD;
/* Array index type for table.field[] */
typedef uint16 field_index_t;
typedef struct st_date_time_format {
uchar positions[8];
char time_separator; /* Separator between hour and minute */
@ -82,10 +85,10 @@ typedef struct st_key_part_info { /* Info about a key part */
*/
uint16 store_length;
uint16 key_type;
uint16 fieldnr; /* Fieldnr begins counting from 1 */
field_index_t fieldnr; /* Fieldnr begins counting from 1 */
uint16 key_part_flag; /* 0 or HA_REVERSE_SORT */
uint8 type;
uint8 null_bit; /* Position to null_bit */
uint8 null_bit; /* Position to null_bit */
} KEY_PART_INFO ;
class engine_option_value;