summaryrefslogtreecommitdiff
path: root/sql/opt_range.h
diff options
context:
space:
mode:
authorIgor Babaev <igor@askmonty.org>2011-05-29 20:48:14 -0700
committerIgor Babaev <igor@askmonty.org>2011-05-29 20:48:14 -0700
commit5dc9a53d199de29f16f82084794eb5a3e6ad38d3 (patch)
tree41b3d7aa5be86c798a95c23a472d4e7be1c39e59 /sql/opt_range.h
parent8ce2e1bcbe1f00b6030b1c82ea62b3a64b1d0de9 (diff)
downloadmariadb-git-5dc9a53d199de29f16f82084794eb5a3e6ad38d3.tar.gz
Eliminated the member original_cond from the class SQL_SELECT
introduced at the latest merge 5.1->5.2->5.3. It is basically not needed since if SQL_SELECT::pre_idx_push_select_cond is not NULL then SQL_SELECT::original_cond would point to the same condition as SQL_SELECT::pre_idx_push_select_cond. Otherwise SQL_SELECT::original_cond would be equal to SQL_SELECT::cond.
Diffstat (limited to 'sql/opt_range.h')
-rw-r--r--sql/opt_range.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/sql/opt_range.h b/sql/opt_range.h
index a921b60fc2b..d7a0c1e2f8f 100644
--- a/sql/opt_range.h
+++ b/sql/opt_range.h
@@ -883,11 +883,6 @@ class SQL_SELECT :public Sql_alloc {
public:
QUICK_SELECT_I *quick; // If quick-select used
COND *cond; // where condition
- /*
- Original WHERE condition (before anything was removed as part of index
- condition pushdown.
- */
- COND *original_cond;
/*
When using Index Condition Pushdown: condition that we've had before