mariadb/storage/innobase/btr
Marko Mäkelä 8375a2c1ce MDEV-11585 Hard-code the shared InnoDB temporary tablespace ID at -1
MySQL 5.7 supports only one shared temporary tablespace.

MariaDB 10.2 does not support any other shared InnoDB tablespaces than
the two predefined tablespaces: the persistent InnoDB system tablespace
(default file name ibdata1) and the temporary tablespace
(default file name ibtmp1).

InnoDB is unnecessarily allocating a tablespace ID for the predefined
temporary tablespace on every startup, and it is in several places
testing whether a tablespace ID matches this dynamically generated ID.

We should use a compile-time constant to reduce code size and to avoid
unnecessary updates to the DICT_HDR page at every startup.

Using a hard-coded tablespace ID will should make it easier to remove the
TEMPORARY flag from FSP_SPACE_FLAGS in MDEV-11202.
2016-12-19 16:24:10 +02:00
..
btr0btr.cc MDEV-11585 Hard-code the shared InnoDB temporary tablespace ID at -1 2016-12-19 16:24:10 +02:00
btr0bulk.cc Merge InnoDB 5.7 from mysql-5.7.14. 2016-09-08 15:49:03 +03:00
btr0cur.cc MDEV-11487 Revert InnoDB internal temporary tables from WL#7682 2016-12-09 12:05:07 +02:00
btr0defragment.cc MDEV-10813 - Clean-up InnoDB atomics, memory barriers and mutexes 2016-10-17 18:35:48 +04:00
btr0pcur.cc MDEV-11487 Revert InnoDB internal temporary tables from WL#7682 2016-12-09 12:05:07 +02:00
btr0scrub.cc Merge InnoDB 5.7 from mysql-5.7.14. 2016-09-08 15:49:03 +03:00
btr0sea.cc MDEV-11487 Revert InnoDB internal temporary tables from WL#7682 2016-12-09 12:05:07 +02:00