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

@ -1665,7 +1665,7 @@ SQL_SELECT *make_select(TABLE *head, table_map const_tables,
select->read_tables=read_tables;
select->const_tables=const_tables;
select->head=head;
select->cond= select->original_cond= conds;
select->cond= conds;
if (head->sort.io_cache)
{