1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

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.
This commit is contained in:
Igor Babaev
2011-05-29 20:48:14 -07:00
parent 8ce2e1bcbe
commit 5dc9a53d19
3 changed files with 9 additions and 11 deletions

View File

@ -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