Debian Codegraph @

mysql-test/suite/encryption/r/innodb-redo-badkey.result

raw
1 call mtr.add_suppression("Plugin 'file_key_management'");
2 call mtr.add_suppression("Plugin 'InnoDB' init function returned error.");
3 call mtr.add_suppression("InnoDB: The page \\[page id: space=[1-9][0-9]*, page number=[1-9][0-9]*\\] in file '.*test.t[1-4]\\.ibd' cannot be decrypted; key_version=1");
4 call mtr.add_suppression("InnoDB: File '.*test/t[1234]\\.ibd' is corrupted");
5 call mtr.add_suppression("InnoDB: Recovery failed to read page");
6 call mtr.add_suppression("InnoDB: Unable to decompress .*.test.t[12]\\.ibd\\[page id: space=[1-9][0-9]*, page number=[0-9]+\\]");
7 call mtr.add_suppression("InnoDB: Database page corruption on disk or a failed read of file '.*test.t[12]\\.ibd'");
8 call mtr.add_suppression("InnoDB: Failed to read page .* from file '.*'");
9 call mtr.add_suppression("InnoDB: OPT_PAGE_CHECKSUM mismatch");
10 call mtr.add_suppression("InnoDB: Set innodb_force_recovery=1 to ignore corruption");
11 call mtr.add_suppression("InnoDB: (Unable to apply log to|Discarding log for) corrupted page ");
12 call mtr.add_suppression("InnoDB: Plugin initialization aborted");
13 call mtr.add_suppression("Plugin 'InnoDB' registration as a STORAGE ENGINE failed");
14 call mtr.add_suppression("\\[ERROR\\] InnoDB: Cannot decrypt \\[page id: space=");
15 # restart: --file-key-management-filename=MYSQL_TEST_DIR/std_data/keys2.txt
16 # Wait max 10 min for key encryption threads to encrypt all spaces
17 create table t1(a int not null primary key auto_increment, c char(250), b blob, index(b(10))) engine=innodb row_format=compressed encrypted=yes encryption_key_id=4;
18 create table t2(a int not null primary key auto_increment, c char(250), b blob, index(b(10))) engine=innodb row_format=compressed;
19 create table t3(a int not null primary key auto_increment, c char(250), b blob, index(b(10))) engine=innodb encrypted=yes encryption_key_id=4;
20 create table t4(a int not null primary key auto_increment, c char(250), b blob, index(b(10))) engine=innodb;
21 begin;
22 insert into t2 select * from t1;
23 insert into t3 select * from t1;
24 insert into t4 select * from t1;
25 commit;
26 set global innodb_log_checkpoint_now=on;
27 SET GLOBAL innodb_flush_log_at_trx_commit=1;
28 begin;
29 update t1 set c = repeat('secret3', 20);
30 update t2 set c = repeat('secret4', 20);
31 update t3 set c = repeat('secret4', 20);
32 update t4 set c = repeat('secret4', 20);
33 insert into t1 (c,b) values (repeat('secret5',20), repeat('secret6',6000));
34 insert into t2 (c,b) values (repeat('secret7',20), repeat('secret8',6000));
35 insert into t3 (c,b) values (repeat('secret9',20), repeat('secre10',6000));
36 insert into t4 (c,b) values (repeat('secre11',20), repeat('secre12',6000));
37 COMMIT;
38 # Kill the server
39 # restart: --file-key-management-filename=MYSQL_TEST_DIR/std_data/keys2.txt
40 # Kill the server
41 # restart: --innodb-force-recovery=1
42 # Kill the server
43 # restart: --file-key-management-filename=MYSQL_TEST_DIR/std_data/keys2.txt
44 drop table t1, t2,t3,t4;