• Varun Gupta's avatar
    MDEV-16191: Analyze format=json gives incorrect value for r_limit inside a dependent · c17468d4
    Varun Gupta authored
    subquery when ORDER BY is present
    
    Currently for setting r_limit we divide with the number of iterations we invoke the dependent subquery.
    This is not needed for the case of limit. For varying limits we produce the output that the limit varies with
    execution.
    Also there is a type for filtered , we forgot to multiply by 100 as it is represented as a percent.
    c17468d4
sql_analyze_stmt.cc 3.85 KB