[MDEV-13488] InnoDB writes CRYPT_INFO even though encryption is not enabled Created: 2017-08-10  Updated: 2017-08-31  Resolved: 2017-08-31

Status: Closed
Project: MariaDB Server
Component/s: Storage Engine - InnoDB, Storage Engine - XtraDB
Affects Version/s: 10.1, 10.2
Fix Version/s: 10.1.27, 10.2.9, 10.3.2

Type: Bug Priority: Major
Reporter: Marko Mäkelä Assignee: Jan Lindström (Inactive)
Resolution: Fixed Votes: 0
Labels: compat56, encryption

Issue Links:
Duplicate
is duplicated by MDEV-13557 Startup failure, unable to decrypt ib... Closed
Relates
relates to MDEV-13093 Leak of Datafile::m_crypt_info on shu... Closed
relates to MDEV-13334 Server crashes upon shutdown after un... Closed

 Description   

InnoDB is writing the CRYPT_INFO tag at least to the system tablespace, even though encryption is not enabled.

./mtr --mem innodb.101_compatibility,16k
od -An -t x1 -N 6 -j 10428 var/install.db/ibdata1

The output will end in the following:

 73 0e 0c 52 45 74

I verified this in both 10.1 and 10.2.
This bug raises the impact of MDEV-13093, and it unnecessarily reduces the compatibility with MySQL 5.6.


Generated at Thu Feb 08 08:05:59 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.