mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
cleanup: TABLE::mark_columns_used_by_index()
mark_columns_used_by_index used to do reset + mark_columns_used_by_index_no_reset + start keyread + set bitmaps Now prepare_for_keyread does that, while mark_columns_used_by_index does only reset + mark_columns_used_by_index_no_reset, just as its name suggests.
This commit is contained in:
@ -1534,7 +1534,7 @@ end:
|
||||
head->file= file;
|
||||
|
||||
head->column_bitmaps_set_no_signal(&column_bitmap, &column_bitmap, &column_bitmap);
|
||||
head->mark_columns_used_by_index_in_bitmap(index, &column_bitmap);
|
||||
head->prepare_for_keyread(index, &column_bitmap);
|
||||
head->prepare_for_position();
|
||||
|
||||
head->file= org_file;
|
||||
|
Reference in New Issue
Block a user