mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge 10.4 into 10.5
This commit is contained in:
@ -1137,6 +1137,8 @@ JOIN::prepare(TABLE_LIST *tables_init, COND *conds_init, uint og_num,
|
||||
proc_param= proc_param_init;
|
||||
tables_list= tables_init;
|
||||
select_lex= select_lex_arg;
|
||||
DBUG_PRINT("info", ("select %p (%u) = JOIN %p",
|
||||
select_lex, select_lex->select_number, this));
|
||||
select_lex->join= this;
|
||||
join_list= &select_lex->top_join_list;
|
||||
union_part= unit_arg->is_unit_op();
|
||||
@ -4471,6 +4473,9 @@ int
|
||||
JOIN::destroy()
|
||||
{
|
||||
DBUG_ENTER("JOIN::destroy");
|
||||
|
||||
DBUG_PRINT("info", ("select %p (%u) <> JOIN %p",
|
||||
select_lex, select_lex->select_number, this));
|
||||
select_lex->join= 0;
|
||||
|
||||
cond_equal= 0;
|
||||
@ -23733,6 +23738,9 @@ check_reverse_order:
|
||||
else if (select && select->quick)
|
||||
select->quick->need_sorted_output();
|
||||
|
||||
tab->read_record.unlock_row= (tab->type == JT_EQ_REF) ?
|
||||
join_read_key_unlock_row : rr_unlock_row;
|
||||
|
||||
} // QEP has been modified
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user