• hf@deer.(none)'s avatar
    Proposed bugfix for #717 · 0cdf7f39
    hf@deer.(none) authored
    Current table is placed into read_tables set of the current join_tab->select
    so get_mm_parts function thinks that current table's record is read and
    tries to calculate WHERE condition with the fields of the record.
    Result of these calculations is unpredictable.
    Looks funny - outcome of the SELECT depends on the queries executed before.
    
    Anyway i think we should have testcase on this part of the code.
    0cdf7f39
sel000001.result 581 Bytes