summaryrefslogtreecommitdiff
path: root/sql/opt_range.h
diff options
context:
space:
mode:
authorSergey Petrunya <psergey@askmonty.org>2010-11-01 18:49:59 +0300
committerSergey Petrunya <psergey@askmonty.org>2010-11-01 18:49:59 +0300
commit6c15806b68a668b7039d8e5b5f2c6623c50bff5f (patch)
treed3cc5d6d70ecf2e90336b414c931c403a3461249 /sql/opt_range.h
parentd48a8b60345c5b5f95c2ce590f7032a7c9f87c4b (diff)
parentb76a8595c611bedf512b19a7c4ccc260f0d0a8f6 (diff)
downloadmariadb-git-6c15806b68a668b7039d8e5b5f2c6623c50bff5f.tar.gz
MWL#121-124 DS-MRR support for key-ordered retrieval, etc
- Merge into 5.3-main
Diffstat (limited to 'sql/opt_range.h')
-rw-r--r--sql/opt_range.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/sql/opt_range.h b/sql/opt_range.h
index 1f2df1d7d55..072b83d4fbf 100644
--- a/sql/opt_range.h
+++ b/sql/opt_range.h
@@ -818,6 +818,13 @@ class SQL_SELECT :public Sql_alloc {
public:
QUICK_SELECT_I *quick; // If quick-select used
COND *cond; // where condition
+
+ /*
+ When using Index Condition Pushdown: condition that we've had before
+ extracting and pushing index condition.
+ In other cases, NULL.
+ */
+ Item *pre_idx_push_select_cond;
TABLE *head;
IO_CACHE file; // Positions to used records
ha_rows records; // Records in use if read from file