diff options
author | Igor Babaev <igor@askmonty.org> | 2010-11-09 19:40:02 -0800 |
---|---|---|
committer | Igor Babaev <igor@askmonty.org> | 2010-11-09 19:40:02 -0800 |
commit | 6e5bcca7935d3c62f84bb640e5357664a210ee12 (patch) | |
tree | d8559bd522bde648c26a1ca380d19e13e1aa6ad8 /sql/opt_index_cond_pushdown.cc | |
parent | 05f21b21e4942efe02fa6dd334094cc64ce0983b (diff) | |
parent | 6b67bafc747e10815566178d730b190a84803fb7 (diff) | |
download | mariadb-git-6e5bcca7935d3c62f84bb640e5357664a210ee12.tar.gz |
Merge
Diffstat (limited to 'sql/opt_index_cond_pushdown.cc')
-rw-r--r-- | sql/opt_index_cond_pushdown.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_index_cond_pushdown.cc b/sql/opt_index_cond_pushdown.cc index 277343b81a5..f6437e04ec5 100644 --- a/sql/opt_index_cond_pushdown.cc +++ b/sql/opt_index_cond_pushdown.cc @@ -318,7 +318,7 @@ void push_index_cond(JOIN_TAB *tab, uint keyno, bool other_tbls_ok) if (idx_cond) { Item *idx_remainder_cond= 0; - tab->pre_idx_push_select_cond= tab->select_cond; + tab->pre_idx_push_select_cond= tab->select->cond; /* For BKA cache we store condition to special BKA cache field because evaluation of the condition requires additional operations |