mariadb/storage
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
..
archive Merge branch '11.8' into main 2025-04-18 17:11:01 +02:00
blackhole Merge 11.4 into 11.7 2024-12-02 17:51:17 +02:00
columnstore Merge branch '10.6' into 10.11 2025-07-28 18:06:31 +02:00
connect Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
csv Merge branch '11.8' into 12.0 2025-07-31 20:55:47 +02:00
example Merge branch '11.4' into 11.8 2025-06-18 07:43:24 +02:00
federated Merge branch '11.8' into 12.0 2025-07-31 20:55:47 +02:00
federatedx MDEV-35184 Corruption errors upon creation or usage of Federated table with vector key 2025-07-21 10:24:14 +02:00
heap Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
innobase MDEV-37070 Implement table options to enable/disable features 2025-08-04 15:16:53 +03:00
maria Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
mroonga Merge branch '11.8' into 12.0 2025-06-18 07:50:39 +02:00
myisam Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
myisammrg MDEV-28933: Per-table unique FOREIGN KEY constraint names 2025-07-08 12:30:27 +03:00
oqgraph Fix typos in C comments inside storage/ 2025-03-26 16:56:50 +04:00
perfschema MDEV-34817 perfschema.lowercase_fs_off fails on buildbot 2025-08-03 15:00:07 +02:00
rocksdb Merge branch '11.8' into 12.0 2025-07-31 20:55:47 +02:00
sequence cleanup: extract transaction-related part of handlerton 2024-11-05 14:00:50 -08:00
sphinx Merge 11.4 into 11.7 2024-12-02 17:51:17 +02:00
spider Merge branch '12.0' into 12.1 2025-08-03 15:01:09 +02:00
test_sql_discovery MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00