mariadb/mysql-test/suite
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
..
archive generalize ER_TABLE_NEEDS_UPGRADE to work for views too 2015-06-01 16:01:23 +02:00
binlog Merge tag 'mariadb-10.0.19' into 10.1 2015-06-01 15:51:25 +02:00
csv
encryption MDEV-8250: InnoDB: Page compressed tables are not compressed and compressed+encrypted tables cause crash 2015-06-04 09:47:06 +03:00
engines Complete test for status slave_skipped_errors 2015-03-16 23:06:30 +11:00
federated MDEV-6311 Add errors on CREATE SERVER 2014-12-04 10:41:51 +01:00
funcs_1 MDEV-8152 is_columns_is_embedded test fails 2015-05-13 15:34:20 +04:00
funcs_2 MDEV-6566 Different INSERT behaviour on bad bytes with and without character set conversion 2015-03-13 16:51:36 +04:00
galera Update galera.global_suppressions with galera warnings. 2015-03-19 20:41:57 -04:00
handler
heap
innodb Merge tag 'mariadb-10.0.19' into 10.1 2015-06-01 15:51:25 +02:00
innodb_fts sort a non-deterministic test result 2015-01-15 08:55:00 +01:00
innodb_zip Push for testing of encryption 2015-02-10 10:21:17 +01:00
jp MDEV-7661 Unexpected result for: CAST(0xHHHH AS CHAR CHARACTER SET xxx) 2015-03-18 17:10:48 +04:00
large_tests
maria Push for testing of encryption 2015-02-10 10:21:17 +01:00
mtr/t
mtr2
multi_source Merge 10.0 -> 10.1. 2015-04-17 15:18:44 +02:00
optimizer_unfixed_bugs
parts --getopt-prefix-matching command-line option 2015-02-10 10:21:15 +01:00
percona Merge tag 'mariadb-10.0.19' into 10.1 2015-06-01 15:51:25 +02:00
perfschema Merge tag 'mariadb-10.0.19' into 10.1 2015-06-01 15:51:25 +02:00
perfschema_stress
plugins Merge tag 'mariadb-10.0.19' into 10.1 2015-06-01 15:51:25 +02:00
roles Merge tag 'mariadb-10.0.19' into 10.1 2015-06-01 15:51:25 +02:00
rpl Merge tag 'mariadb-10.0.19' into 10.1 2015-06-01 15:51:25 +02:00
storage_engine MDEV-7255 Failures in engines/* tests 2015-02-05 02:44:03 +03:00
stress MDEV-34 delete storage/ndb and sql/*ndb* (and collateral changes) 2014-10-11 18:53:06 +02:00
sys_vars fix for 32-bit tests 2015-06-03 11:12:50 +02:00
unit
vcol MDEV-7831 Bad warning for DATE_ADD(timestamp_column, INTERVAL 10 SECOND) 2015-03-25 13:06:04 +04:00
wsrep MDEV-8151 : wsrep.foreign_key, wsrep.pool_of_threads, 2015-05-12 17:15:16 -04:00