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:
7
mysql-test/suite/encryption/r/bulk_insert.result
Normal file
7
mysql-test/suite/encryption/r/bulk_insert.result
Normal 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;
|
1
mysql-test/suite/encryption/t/bulk_insert.opt
Normal file
1
mysql-test/suite/encryption/t/bulk_insert.opt
Normal file
@ -0,0 +1 @@
|
||||
--innodb_encrypt_log=1
|
11
mysql-test/suite/encryption/t/bulk_insert.test
Normal file
11
mysql-test/suite/encryption/t/bulk_insert.test
Normal 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;
|
Reference in New Issue
Block a user