mariadb/storage
Monty 02be1df157 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-07-14 09:10:21 +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.11' into 11.4 2025-06-17 09:50:22 +02:00
connect Merge branch '11.8' into 12.0 2025-06-18 07:50:39 +02:00
csv Merge branch '11.8' into 12.0 2025-06-18 07:50:39 +02:00
example Merge branch '11.4' into 11.8 2025-06-18 07:43:24 +02:00
federated Fix remaining typos 2025-04-29 11:18:00 +10:00
federatedx Merge remote-tracking branch 'github/bb-11.4-release' into bb-11.8-serg 2025-04-27 19:40:00 +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-07-14 09:10:21 +03:00
maria Change some Aria ULONG variables to UINT 2025-06-25 17:59:45 +03:00
mroonga Merge branch '11.8' into 12.0 2025-06-18 07:50:39 +02:00
myisam MDEV-28933: Per-table unique FOREIGN KEY constraint names 2025-07-08 12:30:27 +03: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 Merge branch '11.8' into 12.0 2025-06-18 07:50:39 +02:00
rocksdb Merge branch '11.8' into 12.0 2025-06-18 07:50:39 +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 '11.8' into 12.0 2025-06-18 07:50:39 +02:00
test_sql_discovery MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00