mirror of
https://github.com/MariaDB/server.git
synced 2025-01-23 15:24:16 +01:00
fc02f76d78
Implement the system tablespace tagging described on the wiki: https://svn.innodb.com/innobase/InnoDB_version_and_feature_compatibility A brief description of the changes: * The file format tag will be saved in the trx system page, starting at (UNIV_PAGE_SIZE - 16) for 8 bytes. * The configuration parameter innodb_file_format_check is introduced. This variable can be set to on/off and any of the supported file formats in the configuration file, but can only be set to any of the supported file formats during runtime. The default is on. * During table create/open, check the current file format against the max in file_format_max. If the current file format is newer, update file_format_max and tag the system tablespace with the newer one in a normal mtr. * During startup, write the tag to the error log and check it against DICT_TF_FORMAT_MAX. Refuse to start with error, if -- DICT_TF_FORMAT_MAX < the tag, and -- innodb_file_format_check is ON Print out a warning , if -- DICT_TF_FORMAT_MAX < the tag, but -- innodb_file_format_check is off * The system tablespace tag is re-settable using: set innodb_file_format_check = <file_format> Approved by: Sunny |
||
---|---|---|
.. | ||
ctype_innodb_like.inc | ||
have_innodb.inc | ||
innodb-autoinc.result | ||
innodb-autoinc.test | ||
innodb-index-master.opt | ||
innodb-index.inc | ||
innodb-index.result | ||
innodb-index.test | ||
innodb-index_ucs2.result | ||
innodb-index_ucs2.test | ||
innodb-lock.result | ||
innodb-lock.test | ||
innodb-master.opt | ||
innodb-replace.result | ||
innodb-replace.test | ||
innodb-semi-consistent-master.opt | ||
innodb-semi-consistent.result | ||
innodb-semi-consistent.test | ||
innodb-zip.result | ||
innodb-zip.test | ||
innodb.result | ||
innodb.test | ||
innodb_bug34053.result | ||
innodb_bug34053.test | ||
innodb_bug34300.result | ||
innodb_bug34300.test | ||
innodb_bug35220.result | ||
innodb_bug35220.test | ||
innodb_bug36169.result | ||
innodb_bug36169.test | ||
innodb_information_schema.result | ||
innodb_information_schema.test | ||
innodb_trx_weight.inc | ||
innodb_trx_weight.result | ||
innodb_trx_weight.test |