summaryrefslogtreecommitdiff
path: root/sql/opt_range.h
diff options
context:
space:
mode:
authorSergei Golubchik <serg@mariadb.org>2017-01-22 17:14:36 +0100
committerSergei Golubchik <serg@mariadb.org>2017-02-13 18:12:04 +0100
commit29ed440d4457a3cc2ab8c22674eb5dc8f0ac0ce6 (patch)
tree27d782c447324263bec17de8f254a66408a663ca /sql/opt_range.h
parent4cf4b61b24d4331aa930d0b36c36763b7d9ca0cd (diff)
downloadmariadb-git-29ed440d4457a3cc2ab8c22674eb5dc8f0ac0ce6.tar.gz
MDEV-11836 vcol.vcol_keys_myisam fails in buildbot and outside
move TABLE::key_read into handler. Because in index merge and DS-MRR there can be many handlers per table, and some of them use key read while others don't. "keyread" is really per handler, not per TABLE property.
Diffstat (limited to 'sql/opt_range.h')
-rw-r--r--sql/opt_range.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/sql/opt_range.h b/sql/opt_range.h
index 9e4521a9437..c1f7079ce7f 100644
--- a/sql/opt_range.h
+++ b/sql/opt_range.h
@@ -1037,7 +1037,6 @@ class QUICK_RANGE_SELECT : public QUICK_SELECT_I
{
protected:
/* true if we enabled key only reads */
- bool doing_key_read;
handler *file;
/* Members to deal with case when this quick select is a ROR-merged scan */