mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-11757 KEY_BLOCK_SIZE strangeness when UNCOMPRESSing COMPRESSed InnoDB tables
in ALTER TABLE ... DROP KEY, ADD KEY, don't forget to compare old and new keys' block sizes. If they differ - the key definition has changed.
This commit is contained in:
@ -6429,6 +6429,9 @@ static bool fill_alter_inplace_info(THD *thd,
|
||||
new_key->user_defined_key_parts))
|
||||
goto index_changed;
|
||||
|
||||
if (table_key->block_size != new_key->block_size)
|
||||
goto index_changed;
|
||||
|
||||
if (engine_options_differ(table_key->option_struct, new_key->option_struct,
|
||||
table->file->ht->index_options))
|
||||
goto index_changed;
|
||||
|
Reference in New Issue
Block a user