Starting with MariaDB Server 10.5.0, the InnoDB adaptive hash index is disabled by default (
There are two counters btr_cur_n_non_sea and btr_cur_n_sea that can be used to determine the usefulness of the adaptive hash index. These counters are only exposed via SHOW ENGINE INNODB STATUS, via the section INSERT BUFFER AND ADAPTIVE HASH INDEX, which includes output like this:
It does not make any sense to update the counter btr_cur_n_non_sea when the adaptive hash index is disabled. As noted in
MDEV-21212, such updates come with a cost.
However, removing the update is a user-visible change, because the above output would show something like the following even when the adaptive hash index is disabled:
Therefore, we cannot remove the counter update (or the message output) in any generally available release series.