mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 19:37:16 +02:00
MDEV-23776: Re-apply the fix and make the test more robust
The test that was added in commite05650e686would break a subsequent run of a test encryption.innodb-bad-key-change because some pages in the system tablespace would be encrypted with a different key. The failure was repeatable with the following invocation: ./mtr --no-reorder \ encryption.create_or_replace,cbc \ encryption.innodb-bad-key-change,cbc Because the crash was unrelated to the code changes that we reverted in commiteb38b1f703we can safely re-apply those fixes.
This commit is contained in:
parent
732cd7fd53
commit
2af8f712de
4 changed files with 7 additions and 4 deletions
|
|
@ -1,5 +1,4 @@
|
|||
SET @save_threads = @@GLOBAL.innodb_encryption_threads;
|
||||
SET @save_tables = @@GLOBAL.innodb_encrypt_tables;
|
||||
SET default_storage_engine = InnoDB;
|
||||
SET GLOBAL innodb_encryption_threads = 4;
|
||||
CREATE TABLE `table10_int_autoinc` (`col_int_key` int, pk int auto_increment, `col_int` int, key (`col_int_key` ),primary key (pk)) engine=innodb;
|
||||
|
|
@ -18,4 +17,3 @@ connection default;
|
|||
drop table create_or_replace_t, table1_int_autoinc, table0_int_autoinc,
|
||||
table10_int_autoinc;
|
||||
SET GLOBAL innodb_encryption_threads = @save_threads;
|
||||
SET GLOBAL innodb_encrypt_tables = @save_tables;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue