|
InnoDB in MySQL 5.7 introduced two new parameters to the function dict_hdr_get_new_id(), to allow redo logging to be disabled when assigning identifiers to temporary tables or during the backup-unfriendly TRUNCATE TABLE that was replaced in MariaDB by MDEV-13564.
Now that MariaDB 10.4.0 removed the crash recovery code for the backup-unfriendly TRUNCATE, one of the two added parameters is constant disable_redo=false.
In MariaDB 10.4, we should use a separate ID pool for temporary tables, and we should be able to assign a constant dummy index ID for indexes of temporary tables.
|