• Ramil Kalimullin's avatar
    Fix for bug#49570: Assertion failed: !(order->used & map) · ee403cc1
    Ramil Kalimullin authored
    on re-execution of prepared statement
    
    Problem: some (see eq_ref_table()) ORDER BY/GROUP BY optimization
    is called before each PS execution. However, we don't properly 
    initialize its stucture every time before the call.
    
    Fix: properly initialize the sturture used.
    ee403cc1
sql_select.cc 507 KB