mariadb/storage
Marko Mäkelä e459ce8336 MDEV-33779 InnoDB row operations could be faster
We have quite a few assertions
	ut_a(m_prebuilt->trx == thd_to_trx(ha_thd()));
in low-level functions.
These had better be debug assertions for performance reasons.
It should suffice to check that condition in the less frequently invoked
ha_innobase::change_active_index().

convert_search_mode_to_innobase(): Return whether the mode is
unsupported, and optionally update ha_innobase::m_last_match_mode.

ha_innobase::index_read(): Only branch on find_flag once, and
simplify the error handling after invoking row_search_mvcc().

ha_innobase::rnd_pos(): Remove an assertion that is duplicating one
in ha_innobase::index_read(), which we are calling unconditionally.

ha_innobase::records_in_range(): Check only once whether
min_key, max_key are null pointers.

row_sel_convert_mysql_key_to_innobase(): Declare all parameters
except the conversion buffer pointer (buf) to be nonnull.

Reviewed by: Debarun Banerjee
2024-04-17 16:47:41 +03:00
..
archive Merge branch '10.4' into 10.5 2023-11-08 12:59:00 +01:00
blackhole Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
columnstore MDEV-33290: Disable ColumnStore based on boost version (post-postfix) 2024-04-05 12:40:49 +02:00
connect Fixed failure in test connect.drop-open-error for embedded server 2024-02-27 14:55:47 +02:00
csv Merge branch 'bb-10.4-release' into bb-10.5-release 2021-02-15 16:43:15 +01:00
example Merge branch '10.4' into 10.5 2023-12-02 01:02:50 +01:00
federated Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
federatedx Merge branch '10.5' into 10.6 2024-01-31 18:04:03 +01:00
heap Merge 10.5 into 10.6 2023-02-10 13:03:01 +02:00
innobase MDEV-33779 InnoDB row operations could be faster 2024-04-17 16:47:41 +03:00
maria MDEV-33813 ERROR 1021 (HY000): Disk full (./org/test1.MAI); waiting for someone to free some space 2024-04-10 17:01:24 +03:00
mroonga Merge 10.5 into 10.6 2024-03-27 15:00:56 +02:00
myisam Merge 10.5 into 10.6 2024-03-18 17:07:32 +02:00
myisammrg Fixed some mtr tests that failed on windows 2024-01-23 13:03:12 +02:00
oqgraph Merge 10.5 into 10.6 2023-09-11 14:46:39 +03:00
perfschema Merge 10.5 into 10.6 2024-04-17 14:14:58 +03:00
rocksdb MDEV-33613 InnoDB may still hang when temporarily running out of buffer pool 2024-03-22 14:17:39 +02:00
sequence Merge 10.4 into 10.5 2023-02-10 12:02:11 +02:00
sphinx Merge branch '10.5' into 10.6 2024-01-11 12:59:22 +11:00
spider Merge 10.5 into 10.6 2024-04-17 14:14:58 +03:00
test_sql_discovery Merge 10.5 into 10.6 2022-09-20 16:53:20 +03:00