summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2010-07-16 13:38:23 +0400
committerSergey Petrunya <psergey@askmonty.org>2010-07-16 13:38:23 +0400
commite1006e9e1f33420d6002660efee4d38f4baa7677 (patch)
treeee314edd36b8bc3448a111060c1baa47106186ce /sql/opt_range.cc
parent75bba30c5a0e65e3f5501492603370c7afc9444b (diff)
parent488d352a662438a3c34fd1b41261a94be7572f38 (diff)
downloadmariadb-git-e1006e9e1f33420d6002660efee4d38f4baa7677.tar.gz
MWL#121: DS-MRR support for clustered primary keys
- Merge with current 5.3
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r--sql/opt_range.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index 1d521f78209..62e39faa272 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -8005,6 +8005,7 @@ QUICK_RANGE_SELECT *get_quick_select_for_ref(THD *thd, TABLE *table,
quick->mrr_buf_size= thd->variables.mrr_buff_size;
if (table->file->multi_range_read_info(quick->index, 1, (uint)records,
+ uint(-1),
&quick->mrr_buf_size,
&quick->mrr_flags, &cost))
goto err;