summaryrefslogtreecommitdiff
path: root/sql/multi_range_read.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2010-11-08 20:37:01 +0300
committerSergey Petrunya <psergey@askmonty.org>2010-11-08 20:37:01 +0300
commit0fb342ba566c0fe65ec62593b7ef254ae53e44bd (patch)
treea501aa3f01e98ce14f7a7d4d4e5d605e0173bb64 /sql/multi_range_read.h
parent197c99427dc0119c6d24072faefaeb614a02e350 (diff)
downloadmariadb-git-0fb342ba566c0fe65ec62593b7ef254ae53e44bd.tar.gz
BUG#670417: Diverging results in maria-5.3-mwl128-dsmrr-cpk with join buffer, attempt 4
- Disable identical key handling optimization when IndexConditionPushdown is used
Diffstat (limited to 'sql/multi_range_read.h')
-rw-r--r--sql/multi_range_read.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/sql/multi_range_read.h b/sql/multi_range_read.h
index b945cc21b25..8e2743df5f1 100644
--- a/sql/multi_range_read.h
+++ b/sql/multi_range_read.h
@@ -289,6 +289,12 @@ private:
/* TRUE <=> need range association, buffers hold {rowid, range_id} pairs */
bool is_mrr_assoc;
+ /*
+ TRUE <=> Don't do optimizations for identical key value (see comment in
+ Mrr_ordered_index_reader::init for details)
+ */
+ bool disallow_identical_key_handling;
+
/* Range sequence iteration members */
RANGE_SEQ_IF mrr_funcs;
range_seq_t mrr_iter;