mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Merge 10.1 into 10.2
This commit is contained in:
@@ -3862,6 +3862,7 @@ int JOIN_TAB_SCAN_MRR::open()
|
||||
/* Dynamic range access is never used with BKA */
|
||||
DBUG_ASSERT(join_tab->use_quick != 2);
|
||||
|
||||
join_tab->tracker->r_scans++;
|
||||
save_or_restore_used_tabs(join_tab, FALSE);
|
||||
|
||||
init_mrr_buff();
|
||||
@@ -3905,6 +3906,8 @@ int JOIN_TAB_SCAN_MRR::next()
|
||||
int rc= join_tab->table->file->multi_range_read_next((range_id_t*)ptr) ? -1 : 0;
|
||||
if (!rc)
|
||||
{
|
||||
join_tab->tracker->r_rows++;
|
||||
join_tab->tracker->r_rows_after_where++;
|
||||
/*
|
||||
If a record in in an incremental cache contains no fields then the
|
||||
association for the last record in cache will be equal to cache->end_pos
|
||||
|
Reference in New Issue
Block a user