mirror of
https://github.com/MariaDB/server.git
synced 2025-11-06 13:10:12 +03:00
With changes: * update tests to pass (new encryption/encryption_key_id syntax). * not merged the code that makes engine aware of the encryption mode (CRYPT_SCHEME_1_CBC, CRYPT_SCHEME_1_CTR, storing it on disk, etc), because now the encryption plugin is handling it. * compression+encryption did not work in either branch before the merge - and it does not work after the merge. it might be more broken after the merge though - some of that code was not merged. * page checksumming code was not moved (moving of page checksumming from fil_space_encrypt() to fil_space_decrypt was not merged). * restored deleted lines in buf_page_get_frame(), otherwise innodb_scrub test failed.
19 lines
679 B
C++
19 lines
679 B
C++
-- source include/not_embedded.inc
|
|
-- source include/have_xtradb.inc
|
|
-- source filekeys_plugin.inc
|
|
|
|
--eval call mtr.add_suppression("$SEARCH_PATTERN")
|
|
call mtr.add_suppression("Plugin 'file_key_management' init function returned error");
|
|
call mtr.add_suppression("Plugin 'file_key_management' registration.*failed");
|
|
|
|
--let SEARCH_FILE= $MYSQLTEST_VARDIR/log/mysqld.1.err
|
|
--let SEARCH_RANGE= -10000
|
|
--source include/search_pattern_in_file.inc
|
|
|
|
--error ER_CANT_CREATE_TABLE
|
|
create table t1(c1 bigint not null, b char(200)) engine=innodb encryption='on' encryption_key_id=1;
|
|
|
|
select plugin_status from information_schema.plugins
|
|
where plugin_name = 'file_key_management';
|
|
|