mariadb/mysql-test/suite/innodb_zip/t
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-master.opt MDEV-11426 Remove InnoDB INFORMATION_SCHEMA.FILES implementation 2016-12-01 13:16:25 +02:00
4k.test MDEV-11426 Remove InnoDB INFORMATION_SCHEMA.FILES implementation 2016-12-01 13:16:25 +02:00
8k-master.opt MDEV-11426 Remove InnoDB INFORMATION_SCHEMA.FILES implementation 2016-12-01 13:16:25 +02:00
8k.test MDEV-11426 Remove InnoDB INFORMATION_SCHEMA.FILES implementation 2016-12-01 13:16:25 +02:00
16k-master.opt Merge InnoDB 5.7 from mysql-5.7.14. 2016-09-08 15:49:03 +03:00
16k.test Fix bunch of test failures and solaris build missing include. 2016-09-09 10:01:18 +03:00
bug36169.test Merge 10.1 into 10.2 2017-06-08 12:45:08 +03:00
bug36172.test Enable more variants of some innodb_zip tests 2017-06-30 18:43:48 +03:00
bug52745.test Merge 10.1 into 10.2 2017-06-08 12:45:08 +03:00
bug53591.test Merge 10.1 into 10.2 2017-06-08 12:45:08 +03:00
bug56680.test Merge 10.1 into 10.2 2017-06-08 12:45:08 +03:00
cmp_drop_table-master.opt Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
cmp_drop_table.test Enable more variants of some innodb_zip tests 2017-06-30 18:43:48 +03:00
cmp_per_index.opt MDEV-11629: Unknown table 'innodb_cmp_per_index_reset' in 2017-04-03 07:37:11 +03:00
cmp_per_index.test Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
create_options.test Merge 10.1 into 10.2 2017-06-08 12:45:08 +03:00
index_large_prefix.test Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
index_large_prefix_4k.test Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
index_large_prefix_8k.test Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
innochecksum.opt Make the innochecksum tests more robust. 2017-02-01 09:30:55 +02:00
innochecksum.test Merge 10.1 into 10.2 2017-06-08 12:45:08 +03:00
innochecksum_2.opt Make the innochecksum tests more robust. 2017-02-01 09:30:55 +02:00
innochecksum_2.test Merge 10.1 into 10.2 2017-06-08 12:45:08 +03:00
innochecksum_3.test MDEV-11939: innochecksum mistakes a file for an encrypted one (page 0 invalid) 2017-08-08 09:41:09 +03:00
innodb-zip.test Merge 10.1 into 10.2 2017-06-08 12:45:08 +03:00
large_blob-master.opt Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
large_blob.test Merge InnoDB 5.7 from mysql-5.7.14. 2016-09-08 15:49:03 +03:00
recover.test MDEV-12794 innodb_zip.recover failed in buildbot 2017-05-18 17:00:07 +03:00
restart.opt MDEV-11426 Remove InnoDB INFORMATION_SCHEMA.FILES implementation 2016-12-01 13:16:25 +02:00
restart.test Merge 10.1 into 10.2 2017-06-08 12:45:08 +03:00
wl5522_debug_zip.test Merge 10.1 into 10.2 2017-06-08 12:45:08 +03:00
wl5522_zip.test Merge 10.1 into 10.2 2017-06-08 12:45:08 +03:00
wl6344_compress_level.test Merge 10.1 into 10.2 2017-06-08 12:45:08 +03:00
wl6347_comp_indx_stat.test Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
wl6501_1.test Merge InnoDB 5.7 from mysql-5.7.9. 2016-09-02 13:22:28 +03:00
wl6501_crash_3.test Remove references to innodb_file_format. 2017-01-18 08:43:11 +02:00
wl6501_crash_4.test Remove references to innodb_file_format. 2017-01-18 08:43:11 +02:00
wl6501_crash_5.test Remove references to innodb_file_format. 2017-01-18 08:43:11 +02:00
wl6501_scale_1.test MDEV-11816 Disallow CREATE TEMPORARY TABLE…ROW_FORMAT=COMPRESSED 2017-01-18 08:42:57 +02:00