Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
MDEV-28679 After upgrade to 10.7.3-1 with enabled data-at-rest encryp…
…tion 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.
- Loading branch information
1 parent
3808ffb
commit 19283c6
Showing
5 changed files
with
41 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| --innodb_encrypt_log=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters