• Igor Babaev's avatar
    Back-ported the patch for bug #59696 from mysql-5.6 code line. · 8041013f
    Igor Babaev authored
    The patch fixed the following optimizer defect: when performing
    substitution for best equal fields into where conditions to be
    able to do their evaluations as soon as possible the optimizer 
    skipped conditions over views. That could lead to suboptimal 
    execution of queries that used views.  
    Slightly changed the test case to demonstrate the performance
    improvements if this fix.
    8041013f
item.cc 232 KB