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:
@ -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
|
||||
|
Reference in New Issue
Block a user