summaryrefslogtreecommitdiff
path: root/storage/rocksdb/mysql-test
diff options
context:
space:
mode:
authorThirunarayanan Balathandayuthapani <thiru@mariadb.com>2019-09-10 17:41:26 +0530
committerMarko Mäkelä <marko.makela@mariadb.com>2019-09-10 17:41:26 +0530
commite2f570bff872532dcae5f2cf882e01f40c9aacd2 (patch)
tree2a3c53445c9a05917a975b554a2f0988870d162e /storage/rocksdb/mysql-test
parent13f740904a389f03d3c075fee0b91ecfcc0de60b (diff)
downloadmariadb-git-e2f570bff872532dcae5f2cf882e01f40c9aacd2.tar.gz
MDEV-20320 Tablespace flags mismatch for full_crc32 format
Files for PAGE_COMPRESSED tables that were created with innodb_checksum_algorithm=full_crc32 store the value of innodb_compression_algorithm at the time of the file creation. The server-wide setting of innodb_compression_algorithm may be changed after file creation. We must ignore any mismatch when opening a data file, and for writes, we must use the choice of algorithm that is stored in the file. fil_space_t::is_flags_full_crc32_equal(): Ignore the innodb_compression_algorithm but do compare innodb_page_size. fil_space_t::is_flags_non_full_crc32_equal(): Ignore the innodb_compression_algorithm.
Diffstat (limited to 'storage/rocksdb/mysql-test')
0 files changed, 0 insertions, 0 deletions