Skip to content

Commit 428c1d0

Browse files
MDEV-36125 Cleanup ahead of [NO_]INDEX_MERGE
Introduces code cleanup and small refactorings, such as: - Flip keys_to_use.is_clear_all() and de-dent - Rename best_trp to best_read_plan - Fix key_parts assignment spacing - find_shortest_key now keeps happy path to the left - Cleanup in the get_best_ror_intersect, remove_nonrange_trees, and restore_nonrange_trees functions - Reorganization of locals within test_quick_select - De-dent some large code blocks by changing if (key) { LOTS-OF-CODE; } into if (!key) continue; LOTS-OF-CODE;
1 parent 8d08350 commit 428c1d0

File tree

3 files changed

+554
-557
lines changed

3 files changed

+554
-557
lines changed

sql/opt_hints.cc

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -934,8 +934,9 @@ hint_state hint_table_state(const THD *thd,
934934
}
935935

936936

937-
bool hint_key_state(const THD *thd, const TABLE *table, uint keyno,
938-
opt_hints_enum type_arg, bool fallback_value)
937+
bool hint_key_state(const THD *thd, const TABLE *table,
938+
uint keyno, opt_hints_enum type_arg,
939+
bool fallback_value)
939940
{
940941
Opt_hints_table *table_hints= table->pos_in_table_list->opt_hints_table;
941942

0 commit comments

Comments
 (0)