mariadb/storage/rocksdb/mysql-test
Sergei Golubchik 062f8eb37d cleanup: key algorithm vs key flags
the information about index algorithm was stored in two
places inconsistently split between both.

BTREE index could have key->algorithm == HA_KEY_ALG_BTREE, if the user
explicitly specified USING BTREE or HA_KEY_ALG_UNDEF, if not.

RTREE index had key->algorithm == HA_KEY_ALG_RTREE
and always had key->flags & HA_SPATIAL

FULLTEXT index had  key->algorithm == HA_KEY_ALG_FULLTEXT
and always had key->flags & HA_FULLTEXT

HASH index had key->algorithm == HA_KEY_ALG_HASH or HA_KEY_ALG_UNDEF

long unique index always had key->algorithm == HA_KEY_ALG_LONG_HASH

In this commit:

All indexes except BTREE and HASH always have key->algorithm
set, HA_SPATIAL and HA_FULLTEXT flags are not used anymore (except
for storage to keep frms backward compatible).

As a side effect ALTER TABLE now detects FULLTEXT index renames correctly
2024-11-05 14:00:47 -08:00
..
rocksdb cleanup: key algorithm vs key flags 2024-11-05 14:00:47 -08:00
rocksdb_hotbackup test.cnf files should !include default_my.cnf 2024-02-03 11:22:20 +01:00
rocksdb_rpl MDEV-33145 Add FLUSH GLOBAL STATUS 2024-05-27 12:39:03 +02:00
rocksdb_stress Revert "MDEV-30610 Update RocksDB to v8.1.1" 2023-09-30 14:12:55 +02:00
rocksdb_sys_vars MDEV-19123 Change default charset from latin1 to utf8mb4 2024-07-11 10:21:07 +04:00
storage_engine Merge 10.2 into 10.3 2018-10-17 19:37:05 +03:00