• Igor Babaev's avatar
    Fixed LP bug#694092. · d9a81475
    Igor Babaev authored
    In some cases the function make_cond_for_index() was mistaken
    when detecting index only pushdown conditions for a table: 
    a pushdown condition that was not index only could be marked
    as such.
    It happened because the procedure erroneously used the markers
    for index only conditions that remained from the calls of
    this function that extracted the index conditions for other 
    tables.
    Fixed by erasing index only markers as soon as they are need
    anymore.
    d9a81475
opt_index_cond_pushdown.cc 12.3 KB