mariadb/mysql-test/suite
Jan Lindström 8b019f87dd MDEV-11939: innochecksum mistakes a file for an encrypted one (page 0 invalid)
Always read full page 0 to determine does tablespace contain
encryption metadata. Tablespaces that are page compressed or
page compressed and encrypted do not compare checksum as
it does not exists. For encrypted tables use checksum
verification written for encrypted tables and normal tables
use normal method.

buf_page_is_checksum_valid_crc32
buf_page_is_checksum_valid_innodb
buf_page_is_checksum_valid_none
	Add Innochecksum logging to file

buf_page_is_corrupted
        Remove ib_logf and page_warn_strict_checksum
        calls in innochecksum compilation. Add innochecksum
        logging to file.

fil0crypt.cc fil0crypt.h
        Modify to be able to use in innochecksum compilation and
	move fil_space_verify_crypt_checksum to end of the file.
	Add innochecksum logging to file.

univ.i
        Add innochecksum strict_verify, log_file and cur_page_num
        variables as extern.

page_zip_verify_checksum
        Add innochecksum logging to file.

innochecksum.cc
        Lot of changes most notable able to read encryption
        metadata from page 0 of the tablespace.

Added test case where we corrupt intentionally
FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION (encryption key version)
FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION+4 (post encryption checksum)
FIL_DATA+10 (data)
2017-08-03 08:29:36 +03:00
..
archive
binlog MDEV-13248 binlog.binlog_parallel_replication_marks_row fails in buildbot 2017-07-06 00:45:43 +03:00
binlog_encryption
csv Merge 10.0 into 10.1 2017-05-19 12:29:37 +03:00
encryption MDEV-11939: innochecksum mistakes a file for an encrypted one (page 0 invalid) 2017-08-03 08:29:36 +03:00
engines
federated MDEV-11311 Create federated table does not work as expected. 2017-05-24 11:59:03 +02:00
funcs_1 MDEV-11943 I_S.TABLES inconsistencies with tables with unknown storage engine 2017-03-10 18:21:24 +01:00
funcs_2
galera Merge branch '10.0-galera' into 10.1 2017-06-30 16:33:13 +02:00
galera_3nodes Merge branch '10.0-galera' into 10.1 2017-05-26 19:21:19 +02:00
handler
heap
innodb MDEV-13227: Assertion failure len < 16384 in file rem0rec.cc line 1285 2017-07-20 13:18:30 +03:00
innodb_fts Merge branch '10.0' into 10.1 2017-03-21 19:20:44 +01:00
innodb_zip Merge 10.0 into 10.1 2017-06-06 10:59:54 +03:00
jp
large_tests
maria Merge branch '10.0' 10.1 2017-04-28 20:19:32 +02:00
mariabackup Mariabackup: Test file cleanup 2017-06-30 11:35:28 +03:00
mtr/t
mtr2
multi_source MDEV-9544 FLUSH [RELAY] LOGS does not rotate logs for a named slave 2017-06-05 13:11:10 +05:30
optimizer_unfixed_bugs
parts Merge branch '10.0' into 10.1 2017-07-07 11:30:03 +02:00
percona
perfschema disable getopt prefix matching in mtr bootstrap 2017-06-22 12:56:33 +02:00
perfschema_stress
plugins MDEV-11663 Create services for functionality used by plugins 2017-04-27 19:12:38 +02:00
roles Merge remote-tracking branch '10.0' into 10.1 2017-06-21 16:19:43 +03:00
rpl Merge branch '10.0' into 10.1 2017-07-07 11:30:03 +02:00
storage_engine
stress
sys_vars MDEV-13247 innodb_log_compressed_pages=OFF breaks crash recovery of ROW_FORMAT=COMPRESSED tables 2017-07-06 14:18:53 +03:00
unit
vcol MDEV-10880: Assertions keypart_map' or prebuilt->search_tuple->n_fields > 0' fail on DISTINCT and GROUP BY constant 2017-06-23 09:16:27 +02:00
wsrep Merge branch '10.0-galera' into 10.1 2017-06-30 16:33:13 +02:00