1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-28679 After upgrade to 10.7.3-1 with enabled data-at-rest encryption unable to restore dump file.

- InnoDB bulk insert fails to use encryption buffer for encrypting
the temporary log file. Declare the m_crypt_block, m_crypt_pfx in
row_merge_bulk_t to be used for encrypting the temporary file.
This commit is contained in:
Thirunarayanan Balathandayuthapani
2022-07-26 11:25:32 +05:30
parent 3808ffbcb5
commit 19283c67c6
5 changed files with 41 additions and 5 deletions

View File

@ -0,0 +1,7 @@
SET UNIQUE_CHECKS=0, FOREIGN_KEY_CHECKS=0;
CREATE TABLE t1 (
`id` int(10) unsigned NOT NULL,
UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB;
INSERT INTO t1 SELECT seq FROM seq_1_to_65536;
DROP TABLE t1;

View File

@ -0,0 +1 @@
--innodb_encrypt_log=1

View File

@ -0,0 +1,11 @@
--source include/have_innodb.inc
--source include/have_sequence.inc
--source include/have_file_key_management_plugin.inc
SET UNIQUE_CHECKS=0, FOREIGN_KEY_CHECKS=0;
CREATE TABLE t1 (
`id` int(10) unsigned NOT NULL,
UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB;
INSERT INTO t1 SELECT seq FROM seq_1_to_65536;
DROP TABLE t1;