diff options
author | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2019-08-14 12:01:40 +0530 |
---|---|---|
committer | Marko Mäkelä <marko.makela@mariadb.com> | 2019-08-14 10:32:52 +0300 |
commit | 7772c7cd945cf674b212b82f4d156099c67344a2 (patch) | |
tree | 86981a7427923f15ec9e5c7a98f9bd2155995fa0 /mysql-test/suite/encryption | |
parent | dc8a20f3d00ec4ce4c65287b31696796d43bdfa1 (diff) | |
download | mariadb-git-7772c7cd945cf674b212b82f4d156099c67344a2.tar.gz |
MDEV-20340 Encrypted temporary tables cannot be read with full_crc32
Problem:
========
Checksum for the encrypted temporary tablespace is not stored in the page
for full crc32 format.
Solution:
========
Made temporary tablespace in full crc32 format irrespective of encryption
parameter.
buf_tmp_page_encrypt(), buf_tmp_page_decrypt() - Both follows full_crc32
format.
Diffstat (limited to 'mysql-test/suite/encryption')
-rw-r--r-- | mysql-test/suite/encryption/t/innodb_encrypt_temporary_tables.combinations | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/mysql-test/suite/encryption/t/innodb_encrypt_temporary_tables.combinations b/mysql-test/suite/encryption/t/innodb_encrypt_temporary_tables.combinations new file mode 100644 index 00000000000..729380593f3 --- /dev/null +++ b/mysql-test/suite/encryption/t/innodb_encrypt_temporary_tables.combinations @@ -0,0 +1,5 @@ +[strict_crc32] +--innodb-checksum-algorithm=strict_crc32 + +[strict_full_crc32] +--innodb-checksum-algorithm=strict_full_crc32 |