mariadb/mysql-test/suite/innodb_zip/r
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
..
4k.result MDEV-11426 Remove InnoDB INFORMATION_SCHEMA.FILES implementation 2016-12-01 13:16:25 +02:00
8k.result MDEV-11426 Remove InnoDB INFORMATION_SCHEMA.FILES implementation 2016-12-01 13:16:25 +02:00
16k.result MDEV-7635: Update tests to adapt to the new default sql_mode 2017-02-10 06:30:42 -05:00
bug36169.result Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
bug36172.result Remove duplicated tests 2017-06-30 18:40:36 +03:00
bug52745.result Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
bug53591.result Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
bug56680.result Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
cmp_drop_table.result Enable more variants of some innodb_zip tests 2017-06-30 18:43:48 +03:00
cmp_per_index.result MDEV-11629: Unknown table 'innodb_cmp_per_index_reset' in 2017-04-03 07:37:11 +03:00
create_options.result MDEV-11824 Allow ROW_FORMAT=DYNAMIC in the InnoDB system tablespace 2017-01-18 08:43:11 +02:00
index_large_prefix.result MDEV-11995 ALTER TABLE proceeds despite reporting ER_TOO_LONG_KEY error 2017-04-07 09:55:54 +02:00
index_large_prefix_4k.result Remove end . from error messages to get them consistent 2016-10-05 01:11:08 +03:00
index_large_prefix_8k.result Remove end . from error messages to get them consistent 2016-10-05 01:11:08 +03:00
innochecksum.result search_pattern_in_file.inc changes 2017-03-31 19:28:58 +02:00
innochecksum_2.result MDEV-11939: innochecksum mistakes a file for an encrypted one (page 0 invalid) 2017-08-08 09:41:09 +03:00
innochecksum_3.result MDEV-11939: innochecksum mistakes a file for an encrypted one (page 0 invalid) 2017-08-08 09:41:09 +03:00
innodb-zip.result Follow-up to MDEV-12042 (test innodb_page_size variants) 2017-06-06 09:34:09 +03:00
large_blob.result Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
recover.result MDEV-12720 recovery fails with "Generic error" for ROW_FORMAT=compressed 2017-05-09 11:41:35 +03:00
restart.result MDEV-13089 identifier quoting in partitioning 2017-07-05 17:15:59 +02:00
wl5522_debug_zip.result MDEV-11927 InnoDB change buffer is not being merged 2017-02-24 22:16:33 +02:00
wl5522_zip.result MDEV-11927 InnoDB change buffer is not being merged 2017-02-24 22:16:33 +02:00
wl6344_compress_level.result Merge 10.1 into 10.2 2017-06-08 12:45:08 +03:00
wl6347_comp_indx_stat.result Merge InnoDB 5.7 from mysql-5.7.14. 2016-09-08 15:49:03 +03:00
wl6501_1.result Fix bunch of test failures and solaris build missing include. 2016-09-09 10:01:18 +03:00
wl6501_crash_3.result Remove references to innodb_file_format. 2017-01-18 08:43:11 +02:00
wl6501_crash_4.result Remove references to innodb_file_format. 2017-01-18 08:43:11 +02:00
wl6501_crash_5.result Remove references to innodb_file_format. 2017-01-18 08:43:11 +02:00
wl6501_scale_1.result Remove references to innodb_file_format. 2017-01-18 08:43:11 +02:00