MDEV-29069 follow-up: support partially usable keys

This commit is contained in:
Nikita Malyavin
2022-07-25 23:49:02 +03:00
committed by Sergei Golubchik
parent bac728a263
commit 30756775d5
7 changed files with 336 additions and 24 deletions

View File

@ -256,6 +256,7 @@ struct RPL_TABLE_LIST : public TABLE_LIST
const Copy_field *m_online_alter_copy_fields;
const Copy_field *m_online_alter_copy_fields_end;
uint cached_key_nr; // [0..MAX_KEY] if set, ~0U if unset
uint cached_usable_key_parts;
bool m_tabledef_valid;
bool master_had_triggers;