• Igor Babaev's avatar
    Fixed bug #603654. · 683154d1
    Igor Babaev authored
    If a virtual column was used in the ORDER BY clause of a query
    and some of the columns this virtual column was based upon were
    not referenced anywhere in the query then the execution of the
    query could cause an assertion failure.
    It happened because in this case the bitmap of the columns used
    for ordering keys was not formed correctly.
    683154d1
filesort.cc 48.6 KB