mariadb/storage
Marko Mäkelä 16d308e21d MDEV-14874 innodb_encrypt_log corrupts the log when the LSN crosses 32-bit boundary
This bug affects both writing and reading encrypted redo log in
MariaDB 10.1, starting from version 10.1.3 which added support for
innodb_encrypt_log. That is, InnoDB crash recovery and Mariabackup
will sometimes fail when innodb_encrypt_log is used.

MariaDB 10.2 or Mariabackup 10.2 or later versions are not affected.

log_block_get_start_lsn(): Remove. This function would cause trouble if
a log segment that is being read is crossing a 32-bit boundary of the LSN,
because this function does not allow the most significant 32 bits of the
LSN to change.

log_blocks_crypt(), log_encrypt_before_write(), log_decrypt_after_read():
Add the parameter "lsn" for the start LSN of the block.

log_blocks_encrypt(): Remove (unused function).
2018-01-08 09:44:40 +02:00
..
archive Merge branch '10.0' into 10.1 2017-07-07 11:30:03 +02:00
blackhole
cassandra Correct FSF address 2017-03-10 18:21:29 +01:00
connect Fix the build on OpenBSD (#488) 2017-11-17 13:55:14 +08:00
csv Merge 10.0 into 10.1 2017-05-23 08:59:03 +03:00
example
federated MDEV-14272 Mariadb crashes with signal 11 when using federatedx engine and galera 2017-12-28 02:13:25 +01:00
federatedx Merge branch '10.0' into 10.1 2017-10-22 13:03:41 +02:00
heap MDEV-13459 Warnings, when compiling with gcc-7.x 2017-10-17 07:37:39 +02:00
innobase MDEV-14874 innodb_encrypt_log corrupts the log when the LSN crosses 32-bit boundary 2018-01-08 09:44:40 +02:00
maria Merge 10.0 into 10.1 2018-01-03 20:41:34 +02:00
mroonga mroonga after-merge test fixes 2017-11-17 13:55:14 +08:00
myisam Merge 10.0 into 10.1 2018-01-03 20:41:34 +02:00
myisammrg Merge branch '10.0' into 10.1 2017-08-08 10:18:43 +02:00
oqgraph Merge branch '10.0' into 10.1 2017-10-22 13:03:41 +02:00
perfschema Merge 10.0 into 10.1 2017-10-26 13:36:38 +03:00
sequence test for group by pushdown with a view 2016-05-05 01:05:05 +02:00
sphinx Merge branch '10.0' into 10.1 2017-10-22 13:03:41 +02:00
spider Merge branch '10.0' into 10.1 2017-08-30 13:06:13 +03:00
test_sql_discovery MDEV-3929 Add system variable explicit_defaults_for_timestamp for compatibility with MySQL 2015-09-22 14:01:54 +04:00
tokudb MDEV-14524 TokuDB is unable to be built on Linux 2017-12-14 14:09:51 +01:00
xtradb MDEV-14874 innodb_encrypt_log corrupts the log when the LSN crosses 32-bit boundary 2018-01-08 09:44:40 +02:00