mariadb/storage/xtradb
Jan Lindström f7002c05ae MDEV-8250: InnoDB: Page compressed tables are not compressed and compressed+encrypted tables cause crash
Analysis: Problem is that both encrypted tables and compressed tables use
FIL header offset FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION to store
required metadata. Furhermore, for only compressed tables currently
code skips compression.

Fixes:
- Only encrypted pages store key_version to FIL header offset FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION,
  no need to fix
- Only compressed pages store compression algorithm to FIL header offset FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION,
  no need to fix as they have different page type FIL_PAGE_PAGE_COMPRESSED
- Compressed and encrypted pages now use a new page type FIL_PAGE_PAGE_COMPRESSED_ENCRYPTED and
  key_version is stored on FIL header offset FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION and compression
  method is stored after FIL header similar way as compressed size, so that first
  FIL_PAGE_COMPRESSED_SIZE is stored followed by FIL_PAGE_COMPRESSION_METHOD
- Fix buf_page_encrypt_before_write function to really compress pages if compression is enabled
- Fix buf_page_decrypt_after_read function to really decompress pages if compression is used
- Small style fixes
2015-06-04 09:47:06 +03:00
..
api move to storage/xtradb 2015-05-04 19:15:28 +02:00
btr Merge tag 'mariadb-10.0.19' into 10.1 2015-06-01 15:51:25 +02:00
buf MDEV-8250: InnoDB: Page compressed tables are not compressed and compressed+encrypted tables cause crash 2015-06-04 09:47:06 +03:00
data move to storage/xtradb 2015-05-04 19:15:28 +02:00
dict Merge tag 'mariadb-10.0.19' into 10.1 2015-06-01 15:51:25 +02:00
dyn move to storage/xtradb 2015-05-04 19:15:28 +02:00
eval move to storage/xtradb 2015-05-04 19:15:28 +02:00
fil MDEV-8250: InnoDB: Page compressed tables are not compressed and compressed+encrypted tables cause crash 2015-06-04 09:47:06 +03:00
fsp move to storage/xtradb 2015-05-04 19:15:28 +02:00
fts XtraDB-5.6.23-72.1 2015-05-05 00:08:58 +02:00
fut move to storage/xtradb 2015-05-04 19:15:28 +02:00
ha move to storage/xtradb 2015-05-04 19:15:28 +02:00
handler MDEV-8250: InnoDB: Page compressed tables are not compressed and compressed+encrypted tables cause crash 2015-06-04 09:47:06 +03:00
ibuf XtraDB-5.6.23-72.1 2015-05-05 00:08:58 +02:00
include MDEV-8250: InnoDB: Page compressed tables are not compressed and compressed+encrypted tables cause crash 2015-06-04 09:47:06 +03:00
lock Merge tag 'mariadb-10.0.19' into 10.1 2015-06-01 15:51:25 +02:00
log Merge tag 'mariadb-10.0.19' into 10.1 2015-06-01 15:51:25 +02:00
mach move to storage/xtradb 2015-05-04 19:15:28 +02:00
mem move to storage/xtradb 2015-05-04 19:15:28 +02:00
mtr move to storage/xtradb 2015-05-04 19:15:28 +02:00
mysql-test/storage_engine Changes in storage_engine test suite: 2014-09-15 20:33:11 +04:00
os Merge tag 'mariadb-10.0.19' into 10.1 2015-06-01 15:51:25 +02:00
page MDEV-7942: InnoDB: abuse of UNIV_LIKELY()/UNIV_UNLIKELY() 2015-05-11 14:31:42 +03:00
pars move to storage/xtradb 2015-05-04 19:15:28 +02:00
que move to storage/xtradb 2015-05-04 19:15:28 +02:00
read move to storage/xtradb 2015-05-04 19:15:28 +02:00
rem Merge tag 'mariadb-10.0.19' into 10.1 2015-06-01 15:51:25 +02:00
row Merge tag 'mariadb-10.0.19' into 10.1 2015-06-01 15:51:25 +02:00
srv Merge remote-tracking branch 'github/10.1' into 10.1 2015-06-01 16:01:42 +02:00
sync move to storage/xtradb 2015-05-04 19:15:28 +02:00
trx Merge tag 'mariadb-10.0.19' into 10.1 2015-06-01 15:51:25 +02:00
usr move to storage/xtradb 2015-05-04 19:15:28 +02:00
ut Merge tag 'mariadb-10.0.19' into 10.1 2015-06-01 15:51:25 +02:00
CMakeLists.txt Merge branch '5.5' into 10.0 2015-05-08 11:20:43 +02:00
COPYING.Google move to storage/xtradb 2015-05-04 19:15:28 +02:00
COPYING.Percona move to storage/xtradb 2015-05-04 19:15:28 +02:00
Doxyfile move to storage/xtradb 2015-05-04 19:15:28 +02:00
ha_innodb.def move to storage/xtradb 2015-05-04 19:15:28 +02:00