• Sergei Petrunia's avatar
    Re-commit in git: · eaba1ba4
    Sergei Petrunia authored
    MDEV-406: ANALYZE $stmt
    - Ported the old patch to new explain code
    - New SQL syntax (ANALYZE $stmt)
    - ANALYZE UPDATE/DELETE is now supported (because EXPLAIN UPDATE/DELETE is supported)
    - Basic counters are calculated for basic kinds of queries
      (still need to see what happens with join buffer, ORDER BY...LIMIT queries, etc)
    eaba1ba4
sql_class.cc 186 KB