• Sergey Vojtovich's avatar
    MDEV-8199 - first_breadth_first_tab() takes 0.07% in OLTP RO · 45f41b52
    Sergey Vojtovich authored
    Split first_breadth_first_tab() into
    JOIN::first_breadth_first_optimization_tab() and
    JOIN::first_breadth_first_execution_tab().
    
    This allows to eliminate function call and one condition. Adjusted callers
    accordingly.
    
    Overhead change:
    first_breadth_first_tab()        0.07% -> out of radar
    next_breadth_first_tab()         0.04% -> 0.04%
    JOIN::cleanup()                  0.15% -> 0.11%
    JOIN::save_explain_data_intern() 0.28% -> 0.24%
    45f41b52
sql_select.cc 826 KB