mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MWL#121: DS-MRR support for clustered primary keys
- Merge with current 5.3
This commit is contained in:
@@ -2390,8 +2390,8 @@ JOIN_CACHE_BKA::init_join_matching_records(RANGE_SEQ_IF *seq_funcs, uint ranges)
|
||||
*/
|
||||
if (!file->inited)
|
||||
file->ha_index_init(join_tab->ref.key, 1);
|
||||
if ((error= file->multi_range_read_init(seq_funcs, (void*) this, ranges,
|
||||
mrr_mode, &mrr_buff)))
|
||||
if ((error= file->multi_range_read_init(seq_funcs, (void*) this, ranges,
|
||||
mrr_mode, &mrr_buff)))
|
||||
rc= error < 0 ? NESTED_LOOP_NO_MORE_ROWS: NESTED_LOOP_ERROR;
|
||||
|
||||
return rc;
|
||||
|
Reference in New Issue
Block a user