mariadb/extra
Jan Lindström a0d396fd3f MDEV-11684: post-10.1-merge fixes
10.1 is merged into 10.2 now. Two issues are left to fix:
(1) encryption.innochecksum test
(2) read_page0 vs page_0_crypt_read

(1) innochecksum tool did not compile after merge because
buf_page_is_corrupted uses fil_crypt_t that has been changed.

extra/CMakeLists.txt: Added fil/fil0crypt.cc as dependency
as we need to use fil_crypt_verify_checksum for encrypted pages.

innochecksum.cc: If we think page is encrypted i.e.
FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION != 0 we call
fil_crypt_verify_checksum() function to compare calculated
checksum to stored checksum calculated after encryption
(this is stored on different offset i.e.
FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION + 4).
If checksum does not match we call normal buf_page_is_corrupted
to compare calculated checksum to stored checksum.

fil0crypt.cc: add #ifdef UNIV_INNOCHECKSUM to be able to compile
this file for innochecksum tool.

(2) read_page0 is not needed and thus removed.
2017-01-03 14:36:31 +02:00
..
crc32-vpmsum crc32-vpmsum: Restore non volatile registers on zero length CRC 2016-08-05 11:50:46 +04:00
readline Merge 10.0.14 into 10.1 2014-10-15 12:59:13 +02:00
yassl Merge branch '10.1' into 10.2 2016-12-29 13:23:18 +01:00
charset2html.c Fix for Bug 16395495 - OLD FSF ADDRESS IN GPL HEADER 2013-03-19 15:53:48 +01:00
CMakeLists.txt MDEV-11684: post-10.1-merge fixes 2017-01-03 14:36:31 +02:00
comp_err.c fix build and some warnings 2016-11-24 17:36:02 +03:00
innochecksum.cc MDEV-11684: post-10.1-merge fixes 2017-01-03 14:36:31 +02: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
perror.c Merge branch '10.1' into 10.2 2016-09-09 08:33:08 +02:00
replace.c mysql-5.5.41 merge 2014-12-19 11:35:44 +01: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