• Oleg Smirnov's avatar
    MDEV-29284 ANALYZE doesn't work with pushed derived tables · 94a8921e
    Oleg Smirnov authored
    There was no actual execution of the SQL of a pushed derived table,
    which caused "r_rows" to be always displayed as 0 and "r_total_time_ms"
    to show inaccurate numbers.
    This commit makes a derived table SQL to be executed by the storage
    engine, so the server is able to calculate the number of rows returned
    and measure the execution time more accurately
    94a8921e
sql_select.h 85.3 KB