mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 01:04:19 +01:00
08413254b7
innodb_file_format=Barracuda is the default in MariaDB 10.2. Do not set it, because the option will be removed in MariaDB 10.3. Also, do not set innodb_file_per_table=1 because it is the default. Note that MDEV-11828 should fix the test innodb.innodb-64k already in 10.1.
42 lines
2.3 KiB
Text
42 lines
2.3 KiB
Text
call mtr.add_suppression("InnoDB: Block in space_id .* in file test/.* encrypted");
|
|
call mtr.add_suppression("InnoDB: However key management plugin or used key_id 1 is not found or used encryption algorithm or method does not match.");
|
|
call mtr.add_suppression("InnoDB: Marking tablespace as missing. You may drop this table or install correct key management plugin and key file.");
|
|
call mtr.add_suppression(".*InnoDB: Cannot open table test/.* from the internal data dictionary of InnoDB though the .frm file for the table exists. See .* for how you can resolve the problem.");
|
|
call mtr.add_suppression("InnoDB: .ibd file is missing for table test/.*");
|
|
call mtr.add_suppression("Couldn't load plugins from 'file_key_management*");
|
|
call mtr.add_suppression("InnoDB: Tablespace id.* is encrypted but encryption service or used key_id .* is not available. Can't continue opening tablespace.");
|
|
create table t5 (
|
|
`intcol1` int(32) DEFAULT NULL,
|
|
`intcol2` int(32) DEFAULT NULL,
|
|
`charcol1` varchar(128) DEFAULT NULL,
|
|
`charcol2` varchar(128) DEFAULT NULL,
|
|
`charcol3` varchar(128) DEFAULT NULL
|
|
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
|
|
insert into t5 values (1,2,'maria','db','encryption');
|
|
CREATE TABLE `t1` (
|
|
`intcol1` int(32) DEFAULT NULL,
|
|
`intcol2` int(32) DEFAULT NULL,
|
|
`charcol1` varchar(128) DEFAULT NULL,
|
|
`charcol2` varchar(128) DEFAULT NULL,
|
|
`charcol3` varchar(128) DEFAULT NULL
|
|
) ENGINE=InnoDB;
|
|
insert into t1 values (1,2,'maria','db','encryption');
|
|
select * from t1;
|
|
intcol1 intcol2 charcol1 charcol2 charcol3
|
|
1 2 maria db encryption
|
|
select * from t5;
|
|
intcol1 intcol2 charcol1 charcol2 charcol3
|
|
1 2 maria db encryption
|
|
alter table t1 encrypted='yes' `encryption_key_id`=1;
|
|
select * from t1;
|
|
intcol1 intcol2 charcol1 charcol2 charcol3
|
|
1 2 maria db encryption
|
|
select * from t5;
|
|
intcol1 intcol2 charcol1 charcol2 charcol3
|
|
1 2 maria db encryption
|
|
select * from t1;
|
|
ERROR HY000: Got error 192 'Table encrypted but decryption failed. This could be because correct encryption management plugin is not loaded, used encryption key is not available or encryption method does not match.' from InnoDB
|
|
select * from t5;
|
|
ERROR HY000: Got error 192 'Table encrypted but decryption failed. This could be because correct encryption management plugin is not loaded, used encryption key is not available or encryption method does not match.' from InnoDB
|
|
drop table t1;
|
|
drop table t5;
|