mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
cleanup: handler::key_read
* rename to "keyread" (to avoid conflicts with tokudb), * change from bool to uint and store the keyread index number there * provide a bool accessor to check if keyread is enabled
This commit is contained in:
@ -2633,8 +2633,7 @@ int collect_statistics_for_index(THD *thd, TABLE *table, uint index)
|
||||
DBUG_RETURN(rc);
|
||||
}
|
||||
|
||||
table->file->ha_start_keyread();
|
||||
|
||||
table->file->ha_start_keyread(index);
|
||||
table->file->ha_index_init(index, TRUE);
|
||||
rc= table->file->ha_index_first(table->record[0]);
|
||||
while (rc != HA_ERR_END_OF_FILE)
|
||||
|
Reference in New Issue
Block a user