mariadb/extra
Jan Lindström 34eef269eb 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
        Modify Innochecksum logging to file to avoid compilation
	warnings.

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 and remove unnecessary code.

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-08 09:41:09 +03:00
..
crc32-vpmsum crc32-vpmsum: Restore non volatile registers on zero length CRC 2016-08-05 11:50:46 +04:00
mariabackup MDEV-13332 mariabackup from 10.2.x crashes with --ftwrl-* options 2017-07-17 17:05:06 +00:00
readline
yassl MDEV-10332 support for OpenSSL 1.1 and LibreSSL 2017-05-09 18:53:10 +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-08 09:41:09 +03:00
comp_err.c fix build and some warnings 2016-11-24 17:36:02 +03:00
innochecksum.cc MDEV-11939: innochecksum mistakes a file for an encrypted one (page 0 invalid) 2017-08-08 09:41:09 +03:00
my_print_defaults.c
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.1' into 10.2 2016-09-09 08:33:08 +02:00
replace.c Silence bogus GCC 7 warnings -Wimplicit-fallthrough 2017-05-17 08:27:04 +03:00
resolve_stack_dump.c
resolveip.c