mariadb/mysql-test/suite/sys_vars
Monty 57dbd8162e MDEV-37070 Implement table options to enable/disable features
Added ADAPTIVE_HASH_INDEX=YES|NO table and index option to InnoDB.
The table and index options only have an effect if InnoDB adaptive hash
index feature is enabled.

- Having the ADAPTIVE_HASH_INDEX TABLE option set to NO will disable
  adaptive hash index for all indexes in the table that does not have
  the index option adaptive_hash_index=yes.
- Having the ADAPTIVE_HASH_INDEX TABLE option set to YES will enable the
  adaptive hash index for all indexes in the table that does not have
  the index option adaptive_hash_index=no.
- Using adaptive_hash_index=default deletes the old setting.
- One can also use OFF/ON as the options. This is to make it work similar
  as other existing options.

Example:
CREATE TABLE t1 (a int primary key, b varchar(100), c int,
index (b) adaptive_hash_index=no, index (c))
engine=innodb, adaptive_hash_index=yes;
2025-08-04 15:16:53 +03:00
..
inc fix tests for --view 2025-08-03 14:59:18 +02:00
r MDEV-37070 Implement table options to enable/disable features 2025-08-04 15:16:53 +03:00
t MDEV-37070 Implement table options to enable/disable features 2025-08-04 15:16:53 +03:00
disabled.def MDEV-21452: Replace ib_mutex_t with mysql_mutex_t 2020-12-15 17:56:18 +02:00