• Igor Babaev's avatar
    Fixed LP bug #702310 / bug #59493. · c8e56e37
    Igor Babaev authored
    An assertion failure was triggered for a 6-way join query that uses two
    join buffers.
    The failure happened because every call of the function flush_cached_records()
    saved and restored status of all tables before the table join_tab. It
    must do it only for those of them that follow the last table that uses
    a join buffer.
    c8e56e37
sql_select.cc 564 KB