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