mariadb/extra
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
..
mariabackup Mariabackup : don't change argv[0] to "innobackupex" in innobackupex mode. 2017-07-13 14:49:57 +00:00
readline Merge 10.0.14 into 10.1 2014-10-15 12:59:13 +02:00
yassl Merge 10.0 into 10.1 2017-03-03 13:27:12 +02:00
charset2html.c spelling fixes 2017-03-07 13:38:06 +04:00
CMakeLists.txt MDEV-11939: innochecksum mistakes a file for an encrypted one (page 0 invalid) 2017-08-03 08:29:36 +03:00
comp_err.c MDEV-5120 Test suite test maria-no-logging fails 2014-09-30 20:31:14 +03:00
innochecksum.cc MDEV-11939: innochecksum mistakes a file for an encrypted one (page 0 invalid) 2017-08-03 08:29:36 +03:00
my_print_defaults.c Minor cleanups, fix compiler warnings 2014-08-09 13:22:01 +03:00
mysql_waitpid.c MDEV-8012: Wrong exit code when asking for help 2016-06-12 22:47:18 +03:00
mysqld_safe_helper.c mysqld_safe_help - remove warning 2017-04-30 15:06:01 +04:00
perror.c Merge branch '10.0' into 10.1 2016-08-25 12:40:09 +02:00
replace.c Silence bogus GCC 7 warnings -Wimplicit-fallthrough 2017-05-17 08:27:04 +03:00
resolve_stack_dump.c cleanup: use MYF() for mysys flags 2013-01-23 16:18:09 +01:00
resolveip.c MDEV-419 ensure that all HAVE_XXX constants can be set by cmake 2012-07-31 19:29:07 +02:00