mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Changed field_index to use field_index_t instead of uint16
This commit is contained in:
@@ -11670,8 +11670,8 @@ static bool is_key_scan_ror(PARAM *param, uint keynr, uint8 nparts)
|
||||
|
||||
for (KEY_PART_INFO *kp= table_key->key_part; kp < key_part; kp++)
|
||||
{
|
||||
uint16 fieldnr= param->table->key_info[keynr].
|
||||
key_part[kp - table_key->key_part].fieldnr - 1;
|
||||
field_index_t fieldnr= (param->table->key_info[keynr].
|
||||
key_part[kp - table_key->key_part].fieldnr - 1);
|
||||
if (param->table->field[fieldnr]->key_length() != kp->length)
|
||||
return FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user